diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2016-07-13 00:37:50 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2016-07-13 00:37:50 -0700 |
| commit | fc98d2d96d843c1a760fc91f2328b22425cf2d76 (patch) | |
| tree | 2a2b807adc3b803ec8d0723bd983587ad7cf36d7 /cmake | |
| parent | dcbd1c7b13e98766754c4e75d3bb59021248217e (diff) | |
| download | rneovim-fc98d2d96d843c1a760fc91f2328b22425cf2d76.tar.gz rneovim-fc98d2d96d843c1a760fc91f2328b22425cf2d76.tar.bz2 rneovim-fc98d2d96d843c1a760fc91f2328b22425cf2d76.zip | |
Pass busted the path to the detected Lua interpreter
Otherwise, busted may run a different interpreter than the one we
detected, without the capabilities we expect. (For instance, we might
have detected the luajit interpreter, but busted might run the lua
interpreter, without the ffi module.)
Diffstat (limited to 'cmake')
| -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 0858ea24ac..9fa91ffb5d 100644 --- a/cmake/RunTests.cmake +++ b/cmake/RunTests.cmake @@ -27,7 +27,7 @@ endif() execute_process( COMMAND ${BUSTED_PRG} ${TEST_TAG} ${TEST_FILTER} -v -o ${BUSTED_OUTPUT_TYPE} - --lazy --helper=${TEST_DIR}/${TEST_TYPE}/preload.lua + --lua=${LUA_PRG} --lazy --helper=${TEST_DIR}/${TEST_TYPE}/preload.lua --lpath=${BUILD_DIR}/?.lua ${TEST_PATH} WORKING_DIRECTORY ${WORKING_DIR} ERROR_VARIABLE err |