mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
test: Move 'test/legacy' to 'test/functional'
Busted can only discover tests from a single directory. In order to allow tests under 'legacy' to run as a functional test, it needed to be moved to 'test/functional'.
This commit is contained in:
@@ -7,7 +7,7 @@ endif()
|
|||||||
if(TEST_TYPE STREQUAL "functional")
|
if(TEST_TYPE STREQUAL "functional")
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND python ${BUSTED_PRG} ${BUSTED_REAL_PRG} -v -o
|
COMMAND python ${BUSTED_PRG} ${BUSTED_REAL_PRG} -v -o
|
||||||
${BUSTED_OUTPUT_TYPE} --lpath=${BUILD_DIR}/?.lua ${TEST_DIR}/legacy
|
${BUSTED_OUTPUT_TYPE} --lpath=${BUILD_DIR}/?.lua ${TEST_DIR}/functional
|
||||||
WORKING_DIRECTORY ${WORKING_DIR}
|
WORKING_DIRECTORY ${WORKING_DIR}
|
||||||
RESULT_VARIABLE res)
|
RESULT_VARIABLE res)
|
||||||
else()
|
else()
|
||||||
|
|||||||
Reference in New Issue
Block a user