mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
build: print the error result when the tests fail
Any diagnostic information is useful when things fail. In my case, it printed out the fact that the tests were segfaulting.
This commit is contained in:
parent
bcab2905d8
commit
346e07e8da
@ -20,5 +20,5 @@ execute_process(
|
||||
RESULT_VARIABLE res)
|
||||
|
||||
if(NOT res EQUAL 0)
|
||||
message(FATAL_ERROR "Running ${TEST_TYPE} tests failed.")
|
||||
message(FATAL_ERROR "Running ${TEST_TYPE} tests failed with error: ${res}.")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user