mirror of
https://github.com/neovim/neovim.git
synced 2025-11-03 09:14:24 +00:00
Fail RunUnittests if we get a non-zero exit code from busted.
This commit is contained in:
@@ -6,4 +6,9 @@ set(ENV{TEST_INCLUDES} ${TEST_INCLUDES})
|
||||
execute_process(
|
||||
COMMAND ${BUSTED_PRG} -l ${LUAJIT_PRG} -o ${BUSTED_OUTPUT_TYPE}
|
||||
--pattern=.moon ${TEST_DIR}
|
||||
WORKING_DIRECTORY ${WORKING_DIR})
|
||||
WORKING_DIRECTORY ${WORKING_DIR}
|
||||
RESULT_VARIABLE res)
|
||||
|
||||
if(NOT res EQUAL 0)
|
||||
message(FATAL_ERROR "Unit tests failed.")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user