mirror of
https://github.com/neovim/neovim.git
synced 2025-11-09 20:15:24 +00:00
Use default busted pattern for unittests #943
- Unittest should contain substring '_spec' in filename. - This is the simplest way to use both lua and moonscript tests. - This prevents running of non-test scripts from test folder.
This commit is contained in:
committed by
Nicolas Hillegeer
parent
f693b4043d
commit
2dc69700ec
@@ -5,7 +5,7 @@ if(DEFINED ENV{TEST_FILE})
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND ${BUSTED_PRG} -o ${BUSTED_OUTPUT_TYPE} --lpath=${BUILD_DIR}/?.lua --pattern=.moon ${TEST_DIR}
|
COMMAND ${BUSTED_PRG} -o ${BUSTED_OUTPUT_TYPE} --lpath=${BUILD_DIR}/?.lua ${TEST_DIR}
|
||||||
WORKING_DIRECTORY ${WORKING_DIR}
|
WORKING_DIRECTORY ${WORKING_DIR}
|
||||||
RESULT_VARIABLE res)
|
RESULT_VARIABLE res)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user