diff options
author | Craig Scott <craig.scott@crascit.com> | 2017-11-29 20:09:30 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-11-29 20:09:58 (GMT) |
commit | b311b8751819ec881824c61ef8de03387ff40c3f (patch) | |
tree | b9729ae8af1b8753e73e857b0562ca7aa67dc82c /Tests | |
parent | 5def40891fc1ad0a7d7ba7a16bd11b2d26fa66ab (diff) | |
parent | fbe91dba6a615d799f3ece996ddccdabb819c4dc (diff) | |
download | CMake-b311b8751819ec881824c61ef8de03387ff40c3f.zip CMake-b311b8751819ec881824c61ef8de03387ff40c3f.tar.gz CMake-b311b8751819ec881824c61ef8de03387ff40c3f.tar.bz2 |
Merge topic 'check_fixtures_before_exe_existence'
fbe91dba CTest: Check failed fixture dependencies before test command and args
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Brad King <brad.king@kitware.com>
Merge-request: !1526
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/ctest_fixtures/CMakeLists.txt.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/RunCMake/ctest_fixtures/CMakeLists.txt.in b/Tests/RunCMake/ctest_fixtures/CMakeLists.txt.in index 5cb0b4e..6b11cff 100644 --- a/Tests/RunCMake/ctest_fixtures/CMakeLists.txt.in +++ b/Tests/RunCMake/ctest_fixtures/CMakeLists.txt.in @@ -27,7 +27,11 @@ passTest(two) # 6 passTest(cleanupBar) # 7 passTest(three) # 8 failTest(setupFails) # 9 -passTest(wontRun) # 10 + +# Special case, test executable always missing to verify fixture dependencies +# are checked before existence of test executable to be run +add_test(NAME wontRun COMMAND iDoNotExist) # 10 + passTest(cyclicSetup) # 11 passTest(cyclicCleanup) # 12 passTest(cleanupUnused) # 13 |