summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Tests/CTestTestStopTime/test.cmake.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/Tests/CTestTestStopTime/test.cmake.in b/Tests/CTestTestStopTime/test.cmake.in
index 0952dbfc39..abbee09dce 100644
--- a/Tests/CTestTestStopTime/test.cmake.in
+++ b/Tests/CTestTestStopTime/test.cmake.in
@@ -20,11 +20,12 @@ SET(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIP
INCLUDE("${CTEST_BINARY_DIRECTORY}/GetDate.cmake")
-GET_DATE()
-ADD_SECONDS(15)
-
CTEST_START(Experimental)
CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
+
+GET_DATE()
+ADD_SECONDS(15)
+
CTEST_TEST(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res STOP_TIME "${new_hr}:${new_min}:${new_sec}")
#CTEST_SUBMIT()