From 91c1a70193d8ec27f1e12249515d39c73b2448b8 Mon Sep 17 00:00:00 2001 From: Zach Mullen Date: Wed, 17 Mar 2010 12:32:44 -0400 Subject: Output times during StopTime test for debugging --- Tests/CTestTestStopTime/test.cmake.in | 4 ++++ 1 file changed, 4 insertions(+) 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() -- cgit v0.12