Commit efe36dc3 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED test name selection instead of test label

parent 2db8aba1
......@@ -46,10 +46,10 @@ set(CTEST_TEST_TIMEOUT 1800)
# run test
message(STATUS "- Running test ${RERUN_TESTNAME}...")
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}"
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" APPEND
PARALLEL_LEVEL ${NUMBER_OF_PROC} # Run test in parallel
RETURN_VALUE TEST_RES
INCLUDE_LABEL ${RERUN_TESTNAME}
INCLUDE ${RERUN_TESTNAME}
)
if (NOT TEST_RES EQUAL 0)
......
Markdown is supported
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