mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
@@ -17,8 +17,10 @@ execute_process(
|
|||||||
COMMAND ${BUSTED_PRG} -v -o ${BUSTED_OUTPUT_TYPE}
|
COMMAND ${BUSTED_PRG} -v -o ${BUSTED_OUTPUT_TYPE}
|
||||||
--lpath=${BUILD_DIR}/?.lua ${TEST_PATH}
|
--lpath=${BUILD_DIR}/?.lua ${TEST_PATH}
|
||||||
WORKING_DIRECTORY ${WORKING_DIR}
|
WORKING_DIRECTORY ${WORKING_DIR}
|
||||||
|
ERROR_VARIABLE err
|
||||||
RESULT_VARIABLE res)
|
RESULT_VARIABLE res)
|
||||||
|
|
||||||
if(NOT res EQUAL 0)
|
if(NOT res EQUAL 0)
|
||||||
|
message(STATUS "Output to stderr:\n${err}")
|
||||||
message(FATAL_ERROR "Running ${TEST_TYPE} tests failed with error: ${res}.")
|
message(FATAL_ERROR "Running ${TEST_TYPE} tests failed with error: ${res}.")
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user