Move get_date call closer to ctest_test for more predictable results.
This commit is contained in:
parent
0ba9d04117
commit
b41647ca8f
|
@ -20,11 +20,12 @@ SET(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIP
|
|||
|
||||
INCLUDE("${CTEST_BINARY_DIRECTORY}/GetDate.cmake")
|
||||
|
||||
GET_DATE()
|
||||
ADD_SECONDS(15)
|
||||
|
||||
CTEST_START(Experimental)
|
||||
CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
|
||||
CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
|
||||
|
||||
GET_DATE()
|
||||
ADD_SECONDS(15)
|
||||
|
||||
CTEST_TEST(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res STOP_TIME "${new_hr}:${new_min}:${new_sec}")
|
||||
#CTEST_SUBMIT()
|
||||
|
|
Loading…
Reference in New Issue