diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2017-03-12 10:52:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-12 10:52:13 +0100 |
| commit | c8f0f8fea6e3170db0d68d61dd84f3c3ef9ee77c (patch) | |
| tree | d993945c472a610a265baa79d714c6d32f149f14 /test/config/paths.lua.in | |
| parent | b2b15e6e137d7be2b01bf2174791f36bd12981bd (diff) | |
| parent | 48e7a83447c0a1a59a110b5ca9e712f560fd9e03 (diff) | |
| download | rneovim-c8f0f8fea6e3170db0d68d61dd84f3c3ef9ee77c.tar.gz rneovim-c8f0f8fea6e3170db0d68d61dd84f3c3ef9ee77c.tar.bz2 rneovim-c8f0f8fea6e3170db0d68d61dd84f3c3ef9ee77c.zip | |
Merge #6214 from ZyX-I/split-eval'/isolated-unittests
Run all unit tests in separate processes
Diffstat (limited to 'test/config/paths.lua.in')
| -rw-r--r-- | test/config/paths.lua.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/config/paths.lua.in b/test/config/paths.lua.in index 80cc5629d1..8dd4de75db 100644 --- a/test/config/paths.lua.in +++ b/test/config/paths.lua.in @@ -8,6 +8,15 @@ end module.test_include_path = "${CMAKE_BINARY_DIR}/test/includes/post" module.test_libnvim_path = "${TEST_LIBNVIM_PATH}" module.test_source_path = "${CMAKE_SOURCE_DIR}" +module.test_lua_prg = "${LUA_PRG}" +module.test_luajit_prg = "" +if module.test_luajit_prg == '' then + if module.test_lua_prg:sub(-6) == 'luajit' then + module.test_luajit_prg = module.test_lua_prg + else + module.test_luajit_prg = nil + end +end table.insert(module.include_paths, "${CMAKE_BINARY_DIR}/include") return module |
