Commit a838f605 authored by Thibaut ROMAIN's avatar Thibaut ROMAIN
Browse files

Merge branch 'fix-ci-tests-on-build-failure' into 'develop'

Fix CI launches tests when a build fails

See merge request !798
parents 5d053565 425ff054
Pipeline #7052 passed with stages
in 5 minutes and 54 seconds
......@@ -146,6 +146,8 @@ file ( WRITE
if ( NOT _build_rv EQUAL 0 )
message( SEND_ERROR "An error occurs during ctest_build.")
#don't execute tests as the build failed
set(ci_skip_testing 1)
endif()
# ----------------------------- Test -------------------------------------------
......
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