Commit 998aea0b authored by Cédric Traizet's avatar Cédric Traizet

CI: replace warning by send_error if tests are failing

parent 520b793f
Pipeline #1686 passed with stages
in 46 minutes and 59 seconds
......@@ -208,7 +208,7 @@ file ( WRITE
"${OTB_SOURCE_DIR}/log/test_cmake_error_log.txt" "${_test_error}")
if ( NOT _test_rv EQUAL 0 )
message( WARNING "Some tests have failed.")
message( SEND_ERROR "Some tests have failed.")
endif()
ctest_submit()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment