Commit 1e46a31c authored by saubatn's avatar saubatn
Browse files

FIXED : Include building ${SubProjectName}test binary for testing. Each binary...

FIXED : Include building ${SubProjectName}test binary for testing. Each binary is required in order to correctly run the tests of the subproject.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@397 ec899d31-69d1-42ba-9299-647d76f65fb3
parent c9e2d45d
......@@ -82,6 +82,9 @@ while (${CTEST_ELAPSED_TIME} LESS ${CONTINUOUS_BUILD_DURATION})
set(CTEST_BUILD_TARGET ${subproject})
ctest_build()
ctest_submit(PARTS Build)
# build binary for testing
set(CTEST_BUILD_TARGET ${subproject}test)
ctest_build()
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" INCLUDE_LABEL "${subproject}")
ctest_submit(PARTS Test)
......
......@@ -82,6 +82,9 @@ while (${CTEST_ELAPSED_TIME} LESS ${CONTINUOUS_BUILD_DURATION})
set(CTEST_BUILD_TARGET ${subproject})
ctest_build()
ctest_submit(PARTS Build)
# build binary for testing
set(CTEST_BUILD_TARGET ${subproject}test)
ctest_build()
# Run tests
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" INCLUDE_LABEL "${subproject}")
......
......@@ -82,6 +82,9 @@ while (${CTEST_ELAPSED_TIME} LESS ${CONTINUOUS_BUILD_DURATION})
set(CTEST_BUILD_TARGET ${subproject})
ctest_build()
ctest_submit(PARTS Build)
# build binary for testing
set(CTEST_BUILD_TARGET ${subproject}test)
ctest_build()
# Run tests
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" INCLUDE_LABEL "${subproject}")
......
......@@ -70,6 +70,9 @@ foreach(subproject ${CAMITK_SUBPROJECTS})
set(CTEST_BUILD_TARGET ${subproject})
ctest_build()
ctest_submit(PARTS Build)
# build binary for testing
set(CTEST_BUILD_TARGET ${subproject}test)
ctest_build()
# Run tests
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" INCLUDE_LABEL "${subproject}")
......
......@@ -69,7 +69,11 @@ foreach(subproject ${CAMITK_SUBPROJECTS})
# build each sub project
set(CTEST_BUILD_TARGET ${subproject})
ctest_build()
ctest_submit(PARTS Build)
ctest_submit(PARTS Build)
# build binary for testing
set(CTEST_BUILD_TARGET ${subproject}test)
ctest_build()
# Run tests
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" INCLUDE_LABEL "${subproject}")
......
......@@ -70,6 +70,9 @@ foreach(subproject ${CAMITK_SUBPROJECTS})
set(CTEST_BUILD_TARGET ${subproject})
ctest_build()
ctest_submit(PARTS Build)
# build binary for testing
set(CTEST_BUILD_TARGET ${subproject}test)
ctest_build()
# Run tests
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" INCLUDE_LABEL "${subproject}")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment