summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTest/CMakeCTestArguments-test-check.cmake
diff options
context:
space:
mode:
authorRobert Goulet <robert.goulet.qc@gmail.com>2019-12-28 05:20:05 (GMT)
committerBrad King <brad.king@kitware.com>2020-01-15 20:02:56 (GMT)
commit4153d8445bf107f2637ceaca63804f4668fb9305 (patch)
treea9c7afeb571f8017a2cbb86e2234dfc7fd5b8b5f /Tests/RunCMake/CTest/CMakeCTestArguments-test-check.cmake
parent93526fd91319d952e60760c735a9bb191bc4ede3 (diff)
downloadCMake-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.cmake4
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()