diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2010-03-17 11:10:39 -0400 |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2010-03-17 11:10:39 -0400 |
commit | b41647ca8fd5220c0d20f757f3db8c0c493b4d2e (patch) | |
tree | db449509ee08fed0bc206b53ea4544feca096a20 /Tests/CTestTestStopTime/test.cmake.in | |
parent | 0ba9d041174f593509c44f84e0e70fafc6c0edc0 (diff) | |
download | cmake-b41647ca8fd5220c0d20f757f3db8c0c493b4d2e.tar.gz |
Move get_date call closer to ctest_test for more predictable results.
Diffstat (limited to 'Tests/CTestTestStopTime/test.cmake.in')
-rw-r--r-- | Tests/CTestTestStopTime/test.cmake.in | 7 |
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() |