diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2010-03-18 13:51:40 -0400 |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2010-03-18 13:53:40 -0400 |
commit | 9676c52c3ea26dcd74bdffd14fa91869c00354f7 (patch) | |
tree | 51ac6af8ac10ba265604f5776d5a614b04b15454 /Tests | |
parent | a2fe175647718a562e41c84717b67917adbe584d (diff) | |
download | cmake-9676c52c3ea26dcd74bdffd14fa91869c00354f7.tar.gz |
Fix for StopTime for cases when gmtime is a day ahead of localtime
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CTestTestStopTime/test.cmake.in | 4 |
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}") |