Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default enclave type by env var, not Python arg #1091

Merged
merged 2 commits into from
Apr 22, 2020

Conversation

eddyashton
Copy link
Member

@eddyashton eddyashton commented Apr 22, 2020

Fallout from #1083:

If you're in a -CMAKE_BUILD_TYPE=Debug folder, you may still want to run (and debug!) the virtual enclaves. But since we appended -e debug to the test argument, and your override option (env var TEST_ENCLAVE) is only used as the default for --enclave-type, this is not possible.

This fixes that. Rather than appending to the command line, a Debug or virtual-only build sets another env var, which is used as the default of TEST_ENCLAVE is unset. If ctest let us append args at runtime, without a rebuild, this would look a lot less weird (our manual override could be an additional arg, rather than an env var).

@eddyashton eddyashton requested a review from a team as a code owner April 22, 2020 14:00
@ccf-bot
Copy link
Collaborator

ccf-bot commented Apr 22, 2020

overridable_enclave_type@7547 aka 20200422.15 vs master ewma over 50 builds from 7171 to 7546
images

@eddyashton eddyashton merged commit 815450e into microsoft:master Apr 22, 2020
@eddyashton eddyashton deleted the overridable_enclave_type branch April 22, 2020 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants