summaryrefslogtreecommitdiff
path: root/Tests/CTestTestStopTime
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-03-18 13:51:40 -0400
committerZach Mullen <zach.mullen@kitware.com>2010-03-18 13:53:40 -0400
commit9676c52c3ea26dcd74bdffd14fa91869c00354f7 (patch)
tree51ac6af8ac10ba265604f5776d5a614b04b15454 /Tests/CTestTestStopTime
parenta2fe175647718a562e41c84717b67917adbe584d (diff)
downloadcmake-9676c52c3ea26dcd74bdffd14fa91869c00354f7.tar.gz
Fix for StopTime for cases when gmtime is a day ahead of localtime
Diffstat (limited to 'Tests/CTestTestStopTime')
-rw-r--r--Tests/CTestTestStopTime/test.cmake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CTestTestStopTime/test.cmake.in b/Tests/CTestTestStopTime/test.cmake.in
index 0d664ad58e..6a5534ebfd 100644
--- a/Tests/CTestTestStopTime/test.cmake.in
+++ b/Tests/CTestTestStopTime/test.cmake.in
@@ -25,8 +25,8 @@ CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
GET_DATE()
-message("original time: ${${GD_PREFIX}HOUR}:${${GD_PREFIX}MINUTE}:${${GD_PREFIX}SECOND}")
-ADD_SECONDS(25)
+message("curr time: ${${GD_PREFIX}HOUR}:${${GD_PREFIX}MINUTE}:${${GD_PREFIX}SECOND}")
+ADD_SECONDS(15)
message("stop time: ${new_hr}:${new_min}:${new_sec}")
CTEST_TEST(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res STOP_TIME "${new_hr}:${new_min}:${new_sec}")