summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-03-17 16:32:44 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2010-03-17 16:32:44 (GMT)
commit91c1a70193d8ec27f1e12249515d39c73b2448b8 (patch)
treedd31f27b6b165f6842e7406bf0338a46531b7ea8
parent0d48f81d3214ed2e769265e649f6a799fc6693e2 (diff)
downloadCMake-91c1a70193d8ec27f1e12249515d39c73b2448b8.zip
CMake-91c1a70193d8ec27f1e12249515d39c73b2448b8.tar.gz
CMake-91c1a70193d8ec27f1e12249515d39c73b2448b8.tar.bz2
Output times during StopTime test for debugging
-rw-r--r--Tests/CTestTestStopTime/test.cmake.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CTestTestStopTime/test.cmake.in b/Tests/CTestTestStopTime/test.cmake.in
index abbee09..cf212cc 100644
--- a/Tests/CTestTestStopTime/test.cmake.in
+++ b/Tests/CTestTestStopTime/test.cmake.in
@@ -25,7 +25,11 @@ 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(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}")
+GET_DATE()
+message("finish time: ${${GD_PREFIX}HOUR}:${${GD_PREFIX}MINUTE}:${${GD_PREFIX}SECOND}")
#CTEST_SUBMIT()