diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-09-19 19:15:11 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-09-19 19:15:11 (GMT) |
commit | 5f2343bf91a723d7768f320f48a5b1601b50f7d0 (patch) | |
tree | 0e8f3d59d8d719d246005135f9fc75871b8dc10f /Source/kwsys | |
parent | 51a19d99ba4e38fbe273e502ba8c8c5567eb18c5 (diff) | |
download | CMake-5f2343bf91a723d7768f320f48a5b1601b50f7d0.zip CMake-5f2343bf91a723d7768f320f48a5b1601b50f7d0.tar.gz CMake-5f2343bf91a723d7768f320f48a5b1601b50f7d0.tar.bz2 |
ENH: Test for both commands
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 03efe35..deae51d 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -634,11 +634,11 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR) ADD_TEST(kwsys.testProcess-7 ${EXEC_DIR}/testProcess 7) ADD_TEST(kwsys.testHashSTL ${EXEC_DIR}/testHashSTL) ADD_TEST(kwsys.testRegistry ${EXEC_DIR}/testRegistry) - IF(COMMAND SET_TESTS_PROPERTIES) + IF(COMMAND SET_TESTS_PROPERTIES AND COMMAND GET_TEST_PROPERTY) ADD_TEST(kwsys.testFail ${EXEC_DIR}/testFail) SET_TESTS_PROPERTIES(kwsys.testFail PROPERTIES WILL_FAIL ON) GET_TEST_PROPERTY(kwsys.testFail WILL_FAIL wfv) MESSAGE("GET_TEST_PROPERTY returned: ${wfv}") - ENDIF(COMMAND SET_TESTS_PROPERTIES) + ENDIF(COMMAND SET_TESTS_PROPERTIES AND COMMAND GET_TEST_PROPERTY) ENDIF(BUILD_TESTING) ENDIF(KWSYS_STANDALONE OR CMake_SOURCE_DIR) |