ENH: Cleanup CTest test
This commit is contained in:
parent
74b07fcf96
commit
6e7ba70aad
|
@ -624,14 +624,9 @@ IF(BUILD_TESTING)
|
||||||
ENDIF (APPLE)
|
ENDIF (APPLE)
|
||||||
|
|
||||||
IF (CTEST_TEST_CTEST)
|
IF (CTEST_TEST_CTEST)
|
||||||
ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND} --force-new-ctest-process
|
CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestTest/test.cmake.in"
|
||||||
--build-and-test
|
"${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" @ONLY)
|
||||||
"${CMake_SOURCE_DIR}/Tests/CTestTest"
|
ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND}
|
||||||
"${CMake_BINARY_DIR}/Tests/CTestTest"
|
|
||||||
--build-generator ${CMAKE_GENERATOR}
|
|
||||||
--build-makeprogram ${MAKEPROGRAM}
|
|
||||||
--build-project CTestTest
|
|
||||||
--test-command ${CMAKE_CTEST_COMMAND} --force-new-ctest-process
|
|
||||||
-S "${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" -V
|
-S "${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" -V
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue