summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestStopTime
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-03-18 17:51:40 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2010-03-18 17:53:40 (GMT)
commit9676c52c3ea26dcd74bdffd14fa91869c00354f7 (patch)
tree51ac6af8ac10ba265604f5776d5a614b04b15454 /Tests/CTestTestStopTime
parenta2fe175647718a562e41c84717b67917adbe584d (diff)
downloadCMake-9676c52c3ea26dcd74bdffd14fa91869c00354f7.zip
CMake-9676c52c3ea26dcd74bdffd14fa91869c00354f7.tar.gz
CMake-9676c52c3ea26dcd74bdffd14fa91869c00354f7.tar.bz2
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 0d664ad..6a5534e 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}")