diff options
author | Matthieu Coudron <coudron@iij.ad.jp> | 2018-01-20 22:43:16 +0900 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-01-20 14:43:16 +0100 |
commit | 6a826fce91206e1237e0a5822a67cfd772f524dd (patch) | |
tree | 3fdab2e1e9e566440d32b81e24d46a7742a83d4e | |
parent | ecf851bc60c0b4138e054426b4a062a59c343846 (diff) | |
download | rneovim-6a826fce91206e1237e0a5822a67cfd772f524dd.tar.gz rneovim-6a826fce91206e1237e0a5822a67cfd772f524dd.tar.bz2 rneovim-6a826fce91206e1237e0a5822a67cfd772f524dd.zip |
busted: explicit LUA_PATH to test scripts (#7864)
in case LUA_PATH does not contain `./?.lua`, busted can not load lua test scripts.
(for instance on nixos). Thus we make it explicit.
-rw-r--r-- | cmake/RunTests.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake index 95c06aeb94..5b62fd72c9 100644 --- a/cmake/RunTests.cmake +++ b/cmake/RunTests.cmake @@ -38,7 +38,7 @@ set(ENV{SYSTEM_NAME} ${SYSTEM_NAME}) execute_process( COMMAND ${BUSTED_PRG} ${TEST_TAG} ${TEST_FILTER} -v -o ${BUSTED_OUTPUT_TYPE} --lua=${LUA_PRG} --lazy --helper=${TEST_DIR}/${TEST_TYPE}/preload.lua - --lpath=${BUILD_DIR}/?.lua ${TEST_PATH} + --lpath=${BUILD_DIR}/?.lua --lpath=?.lua ${TEST_PATH} WORKING_DIRECTORY ${WORKING_DIR} ERROR_VARIABLE err RESULT_VARIABLE res |