ctest: Fix the ctest build script.
Этот коммит содержится в:
родитель
1b57445f6b
Коммит
859ed8583c
@ -58,14 +58,14 @@ set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND} \"${CTEST_SOURCE_DIRECTO
|
||||
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
|
||||
|
||||
ctest_start(${CTEST_MODEL} TRACK ${CTEST_MODEL})
|
||||
ctest_update()
|
||||
ctest_configure()
|
||||
ctest_build()
|
||||
ctest_test()
|
||||
ctest_update(SOURCE ${CTEST_SOURCE_DIRECTORY})
|
||||
ctest_configure(BUILD ${CTEST_BINARY_DIRECTORY})
|
||||
ctest_build(BUILD ${CTEST_BINARY_DIRECTORY})
|
||||
ctest_test(BUILD ${CTEST_BINARY_DIRECTORY})
|
||||
if (WITH_MEMCHECK AND CTEST_COVERAGE_COMMAND)
|
||||
ctest_coverage()
|
||||
ctest_coverage(BUILD ${CTEST_BINARY_DIRECTORY})
|
||||
endif (WITH_MEMCHECK AND CTEST_COVERAGE_COMMAND)
|
||||
if (WITH_MEMCHECK AND CTEST_MEMORYCHECK_COMMAND)
|
||||
ctest_memcheck()
|
||||
ctest_memcheck(BUILD ${CTEST_BINARY_DIRECTORY})
|
||||
endif (WITH_MEMCHECK AND CTEST_MEMORYCHECK_COMMAND)
|
||||
ctest_submit()
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user