aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-11-29 22:51:20 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-12-20 11:57:30 +0100
commit221f6fffad12beaa928ccedae336d64b7b1c1208 (patch)
tree501c13ec241ff3d6a020d96f6ec0c3947000418b /cmake
parente6d0dea42b28a4814546bcf699ce277c365ebfc1 (diff)
downloadrneovim-221f6fffad12beaa928ccedae336d64b7b1c1208.tar.gz
rneovim-221f6fffad12beaa928ccedae336d64b7b1c1208.tar.bz2
rneovim-221f6fffad12beaa928ccedae336d64b7b1c1208.zip
runtime/lua/vim/compat.lua
ref #9280 Introduce the `vim.compat` module, to help environments with system Lua 5.2+ run the build/tests. Include the module implicitly in all tests. ref #8677 legacy `vim` module: beep buffer command dict eval firstline lastline line list open type window
Diffstat (limited to 'cmake')
-rw-r--r--cmake/RunTests.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake
index a764b19850..05c429c1f5 100644
--- a/cmake/RunTests.cmake
+++ b/cmake/RunTests.cmake
@@ -38,7 +38,10 @@ 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 --lpath=?.lua ${TEST_PATH}
+ --lpath=${BUILD_DIR}/?.lua
+ --lpath=${WORKING_DIR}/runtime/lua/?.lua
+ --lpath=?.lua
+ ${TEST_PATH}
WORKING_DIRECTORY ${WORKING_DIR}
ERROR_VARIABLE err
RESULT_VARIABLE res