summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/CMakeLists.txt
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-09-17 13:53:09 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-09-17 13:53:09 (GMT)
commit28a9e9a91928ada16a1377107d9bf7ec19000d1f (patch)
tree96f06102a7d3a9ce5a72be502f6462f6e7808bbc /Source/kwsys/CMakeLists.txt
parent8ee8cd372fbf5a5772da6352afb13db140176b64 (diff)
downloadCMake-28a9e9a91928ada16a1377107d9bf7ec19000d1f.zip
CMake-28a9e9a91928ada16a1377107d9bf7ec19000d1f.tar.gz
CMake-28a9e9a91928ada16a1377107d9bf7ec19000d1f.tar.bz2
ENH: Add testing of GET_TEST_PROPERTY command
Diffstat (limited to 'Source/kwsys/CMakeLists.txt')
-rw-r--r--Source/kwsys/CMakeLists.txt4
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)