diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-09-17 13:53:09 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-09-17 13:53:09 (GMT) |
commit | 28a9e9a91928ada16a1377107d9bf7ec19000d1f (patch) | |
tree | 96f06102a7d3a9ce5a72be502f6462f6e7808bbc /Source/kwsys | |
parent | 8ee8cd372fbf5a5772da6352afb13db140176b64 (diff) | |
download | CMake-28a9e9a91928ada16a1377107d9bf7ec19000d1f.zip CMake-28a9e9a91928ada16a1377107d9bf7ec19000d1f.tar.gz CMake-28a9e9a91928ada16a1377107d9bf7ec19000d1f.tar.bz2 |
ENH: Add testing of GET_TEST_PROPERTY command
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 568ae11..3fe16c0 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -629,6 +629,10 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR) IF(COMMAND SET_TESTS_PROPERTIES) ADD_TEST(kwsys.testFail ${EXEC_DIR}/testFail) SET_TESTS_PROPERTIES(kwsys.testFail PROPERTIES WILL_FAIL ON) + GET_TEST_PROPERTY(kwsys.testFail WILL_FAIL wfv) + IF(NOT $wfv}) + MESSAGE(FATAL_ERROR "GET_TEST_PROPERTY command does not work") + ENDIF(NOT $wfv}) ENDIF(COMMAND SET_TESTS_PROPERTIES) ENDIF(BUILD_TESTING) ENDIF(KWSYS_STANDALONE OR CMake_SOURCE_DIR) |