BUG: typo in if test
This commit is contained in:
parent
0cb45081d9
commit
abf2704785
|
@ -1148,19 +1148,19 @@ IF(BUILD_TESTING)
|
|||
IF(COMMAND SET_TESTS_PROPERTIES)
|
||||
# if timeouts have not already been set
|
||||
GET_TEST_PROPERTY(CTestTest TIMEOUT PREVIOUS_TIMEOUT)
|
||||
IF ("${PREVIOUS_TIMEOUT}" MATCHES NOT_FOUND)
|
||||
IF ("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
|
||||
SET_TESTS_PROPERTIES ( CTestTest PROPERTIES TIMEOUT 1500)
|
||||
ENDIF ("${PREVIOUS_TIMEOUT}" MATCHES NOT_FOUND)
|
||||
ENDIF ("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
|
||||
|
||||
GET_TEST_PROPERTY(CTestTest2 TIMEOUT PREVIOUS_TIMEOUT)
|
||||
IF ("${PREVIOUS_TIMEOUT}" MATCHES NOT_FOUND)
|
||||
IF ("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
|
||||
SET_TESTS_PROPERTIES ( CTestTest2 PROPERTIES TIMEOUT 1500)
|
||||
ENDIF ("${PREVIOUS_TIMEOUT}" MATCHES NOT_FOUND)
|
||||
ENDIF ("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
|
||||
|
||||
GET_TEST_PROPERTY(CTestTest3 TIMEOUT PREVIOUS_TIMEOUT)
|
||||
IF ("${PREVIOUS_TIMEOUT}" MATCHES NOT_FOUND)
|
||||
IF ("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
|
||||
SET_TESTS_PROPERTIES ( CTestTest3 PROPERTIES TIMEOUT 1500)
|
||||
ENDIF ("${PREVIOUS_TIMEOUT}" MATCHES NOT_FOUND)
|
||||
ENDIF ("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
|
||||
ENDIF(COMMAND SET_TESTS_PROPERTIES)
|
||||
ENDIF (CTEST_TEST_CTEST AND CMAKE_RUN_LONG_TESTS)
|
||||
|
||||
|
@ -1188,9 +1188,9 @@ IF(BUILD_TESTING)
|
|||
# provide more time for the bootstrap test
|
||||
IF (COMMAND GET_TEST_PROPERTY)
|
||||
GET_TEST_PROPERTY(BootstrapTest TIMEOUT PREVIOUS_TIMEOUT)
|
||||
IF ("${PREVIOUS_TIMEOUT}" MATCHES NOT_FOUND)
|
||||
IF ("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
|
||||
SET_TESTS_PROPERTIES ( BootstrapTest PROPERTIES TIMEOUT 1500)
|
||||
ENDIF ("${PREVIOUS_TIMEOUT}" MATCHES NOT_FOUND)
|
||||
ENDIF ("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
|
||||
ENDIF (COMMAND GET_TEST_PROPERTY)
|
||||
|
||||
ENDIF(UNIX AND CMAKE_RUN_LONG_TESTS AND NOT CMAKE_SKIP_BOOTSTRAP_TEST)
|
||||
|
|
Loading…
Reference in New Issue