-
Notifications
You must be signed in to change notification settings - Fork 469
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
running ctest using test explore with env vars from test presets #4313
Comments
@mikirothman Thank you for your github issue! To be able to reproduce your question better, can you help us answer the following question?
|
|
@mikirothman @gcampbell-msft We can reproduce this issue on latest version CMake Tools1.21.2(pre-release), you can get the details below. Thank you! Environment: Repro steps:
Actual result: |
Brief Issue Summary
hello
our test presets have bunch of environment variables (composed by
conan
due to our dependency graph) which we need in order to launch the tests,we were expecting to see those vars along the
ctest
command.but the command
ctest
invokes is:Due to the missing env vars the tests fail when running from the test explorer.
Running
ctest
—preset ${my-preset} from the terminal pass the env vars to my test executablesCMake Tools Diagnostics
Debug Log
Additional Information
No response
The text was updated successfully, but these errors were encountered: