1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 02:12:45 +01:00

ci: fail when tests fail

Downside is that failed test will not push artifacts
This commit is contained in:
Anonymous Maarten 2018-08-14 02:40:03 +02:00
parent 2bc1f560dd
commit 80e1dfee1f

View File

@ -233,9 +233,9 @@ if(_NB_BUILD_ERRORS)
endif()
if(_TEST_RESULT)
list(APPEND WARNING_MESSAGES "Test failure detected!")
list(APPEND ERROR_MESSAGES "Test failure detected!")
endif()
if(_SUBMIT_RESULT)
list(APPEND ERROR_MESSAGES "Test submission failure detected!")
list(APPEND WARNING_MESSAGES "Test submission failure detected!")
endif()