Skip to content

Commit

Permalink
Revert "disable submitting to cdash"
Browse files Browse the repository at this point in the history
This reverts commit 285fb47.
  • Loading branch information
bernhardmgruber committed May 17, 2022
1 parent d9ba27b commit bf03f78
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ macro(go)
if(NOT is_experimental)
CTEST_UPDATE (SOURCE "${CTEST_SOURCE_DIRECTORY}" RETURN_VALUE res)
if(res GREATER 0)
#ctest_submit(PARTS Update)
ctest_submit(PARTS Update)
endif()
endif()

Expand All @@ -436,7 +436,7 @@ macro(go)
#"${CTEST_BINARY_DIRECTORY}/CMakeFiles/CMakeOutput.log"
"${CTEST_BINARY_DIRECTORY}/CMakeFiles/CMakeError.log"
)
#ctest_submit(PARTS Notes Configure)
ctest_submit(PARTS Notes Configure)
unset(CTEST_NOTES_FILES) # less clutter in ctest -V output
if(res EQUAL 0)
set(test_results 0)
Expand All @@ -446,15 +446,15 @@ macro(go)
BUILD "${CTEST_BINARY_DIRECTORY}"
APPEND
RETURN_VALUE res)
#ctest_submit(PARTS Build)
ctest_submit(PARTS Build)
if(NOT skip_tests)
ctest_test(
BUILD "${CTEST_BINARY_DIRECTORY}"
APPEND
RETURN_VALUE test_results
PARALLEL_LEVEL ${number_of_processors})
endif()
#ctest_submit(PARTS Test)
ctest_submit(PARTS Test)
else()
if("${subset}" STREQUAL "sse")
set(label_list other Scalar SSE)
Expand All @@ -471,7 +471,7 @@ macro(go)
BUILD "${CTEST_BINARY_DIRECTORY}"
APPEND
RETURN_VALUE res)
#ctest_submit(PARTS Build)
ctest_submit(PARTS Build)
if(res EQUAL 0 AND NOT skip_tests)
execute_process(
COMMAND ${CMAKE_CTEST_COMMAND} -N -L "^${label}$"
Expand All @@ -487,7 +487,7 @@ macro(go)
RETURN_VALUE res
PARALLEL_LEVEL ${number_of_processors}
INCLUDE_LABEL "^${label}$")
#ctest_submit(PARTS Test)
ctest_submit(PARTS Test)
if(NOT res EQUAL 0)
message("ctest_test returned non-zero result: ${res}")
set(test_results ${res})
Expand All @@ -501,7 +501,7 @@ macro(go)
BUILD "${CTEST_BINARY_DIRECTORY}"
APPEND
RETURN_VALUE res)
#ctest_submit(PARTS Build)
ctest_submit(PARTS Build)
endif()
endforeach()
endif()
Expand Down

0 comments on commit bf03f78

Please sign in to comment.