mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-14 11:09:56 -06:00
Some RunCMake tests unset some environment variables that affect ctest's behavior before running it. Any test using the RunCTest helper needs to do this, so do it in the helper itself. Issue: #24153
13 lines
392 B
CMake
13 lines
392 B
CMake
include(RunCTest)
|
|
|
|
set(CASE_SOURCE_DIR "${RunCMake_SOURCE_DIR}")
|
|
set(RunCTest_VERBOSE_FLAG "-VV")
|
|
|
|
run_ctest(ENVIRONMENT_MODIFICATION-invalid-op)
|
|
run_ctest(ENVIRONMENT_MODIFICATION-no-colon)
|
|
run_ctest(ENVIRONMENT_MODIFICATION-no-equals)
|
|
|
|
set(ENV{CTEST_TEST_VAR} set-via-system-environment)
|
|
run_ctest(ENVIRONMENT_MODIFICATION-reset-to-prop)
|
|
run_ctest(ENVIRONMENT_MODIFICATION-reset-to-system)
|