diff options
author | Robert Goulet <robert.goulet.qc@gmail.com> | 2019-12-28 05:20:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-01-15 20:02:56 (GMT) |
commit | 4153d8445bf107f2637ceaca63804f4668fb9305 (patch) | |
tree | a9c7afeb571f8017a2cbb86e2234dfc7fd5b8b5f /Tests/RunCMake/CTest/CMakeCTestArguments-test-check.cmake | |
parent | 93526fd91319d952e60760c735a9bb191bc4ede3 (diff) | |
download | CMake-4153d8445bf107f2637ceaca63804f4668fb9305.zip CMake-4153d8445bf107f2637ceaca63804f4668fb9305.tar.gz CMake-4153d8445bf107f2637ceaca63804f4668fb9305.tar.bz2 |
Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctest
Fixes: #20172
Diffstat (limited to 'Tests/RunCMake/CTest/CMakeCTestArguments-test-check.cmake')
-rw-r--r-- | Tests/RunCMake/CTest/CMakeCTestArguments-test-check.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTest/CMakeCTestArguments-test-check.cmake b/Tests/RunCMake/CTest/CMakeCTestArguments-test-check.cmake new file mode 100644 index 0000000..3e05953 --- /dev/null +++ b/Tests/RunCMake/CTest/CMakeCTestArguments-test-check.cmake @@ -0,0 +1,4 @@ +set(log "${RunCMake_TEST_BINARY_DIR}/output-log.txt") +if(NOT EXISTS "${log}") + set(RunCMake_TEST_FAILED "The expected output log file is missing:\n ${log}") +endif() |