mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r28403] Update to include cdash submit options
This commit is contained in:
parent
2e9220b8e6
commit
54aa68df1a
@ -153,8 +153,17 @@ ctest_read_custom_files ("${CTEST_BINARY_DIRECTORY}")
|
||||
## --------------------------
|
||||
ctest_start (Experimental)
|
||||
ctest_configure (BUILD "${CTEST_BINARY_DIRECTORY}")
|
||||
if(LOCAL_SUBMIT)
|
||||
ctest_submit (PARTS Configure Notes)
|
||||
endif()
|
||||
ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}" APPEND)
|
||||
if(LOCAL_SUBMIT)
|
||||
ctest_submit (PARTS Build)
|
||||
endif()
|
||||
ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" APPEND ${ctest_test_args} RETURN_VALUE res)
|
||||
if(LOCAL_SUBMIT)
|
||||
ctest_submit (PARTS Test)
|
||||
endif()
|
||||
if(res GREATER 0)
|
||||
message (FATAL_ERROR "tests FAILED")
|
||||
endif()
|
||||
|
@ -153,8 +153,17 @@ ctest_read_custom_files ("${CTEST_BINARY_DIRECTORY}")
|
||||
## --------------------------
|
||||
ctest_start (Experimental)
|
||||
ctest_configure (BUILD "${CTEST_BINARY_DIRECTORY}")
|
||||
if(LOCAL_SUBMIT)
|
||||
ctest_submit (PARTS Configure Notes)
|
||||
endif()
|
||||
ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}" APPEND)
|
||||
if(LOCAL_SUBMIT)
|
||||
ctest_submit (PARTS Build)
|
||||
endif()
|
||||
ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" APPEND ${ctest_test_args} RETURN_VALUE res)
|
||||
if(LOCAL_SUBMIT)
|
||||
ctest_submit (PARTS Test)
|
||||
endif()
|
||||
if(res GREATER 0)
|
||||
message (FATAL_ERROR "tests FAILED")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user