mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 01:02:09 +00: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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user