diff options
author | Brad King <brad.king@kitware.com> | 2015-01-15 18:41:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-19 14:53:57 (GMT) |
commit | 352de1d74960dea4db66ac560ad7e4489546f2dd (patch) | |
tree | f1b3663bda185c3096040653a465265b9e4f7458 /Tests/RunCMake/CTestSubmit/CTestConfig.cmake.in | |
parent | 287070ceb8eda82cf58595c9ea2dde57b0d6d45e (diff) | |
download | CMake-352de1d74960dea4db66ac560ad7e4489546f2dd.zip CMake-352de1d74960dea4db66ac560ad7e4489546f2dd.tar.gz CMake-352de1d74960dea4db66ac560ad7e4489546f2dd.tar.bz2 |
Tests: Add RunCMake.CTestSubmit cases covering ctest_submit failures
Cover command invocation argument errors. Prepare infrastructure
to cover failed 'drop' cases, but do not cover them yet because
we need to collect error messages from each platform.
Diffstat (limited to 'Tests/RunCMake/CTestSubmit/CTestConfig.cmake.in')
-rw-r--r-- | Tests/RunCMake/CTestSubmit/CTestConfig.cmake.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTestSubmit/CTestConfig.cmake.in b/Tests/RunCMake/CTestSubmit/CTestConfig.cmake.in new file mode 100644 index 0000000..f0e1653 --- /dev/null +++ b/Tests/RunCMake/CTestSubmit/CTestConfig.cmake.in @@ -0,0 +1,5 @@ +set(CTEST_PROJECT_NAME "CTestSubmit@CASE_NAME@") + +# Intentionally leave out other upload-related CTestConfig.cmake settings +# so that any ctest_submit calls fail with an error message. +set(CTEST_DROP_METHOD "@CASE_DROP_METHOD@") |