diff options
author | ZyX <kp-pav@yandex.ru> | 2017-03-11 23:13:09 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-03-11 23:23:50 +0300 |
commit | ec730daee9bbdc34e250dea3beb7c15e6e7927dc (patch) | |
tree | 3c80093e4262d24050a3653d49dd1913b685616e /test/unit/helpers.lua | |
parent | ce12bda712bfe41ec606dc86604011e33690df3c (diff) | |
download | rneovim-ec730daee9bbdc34e250dea3beb7c15e6e7927dc.tar.gz rneovim-ec730daee9bbdc34e250dea3beb7c15e6e7927dc.tar.bz2 rneovim-ec730daee9bbdc34e250dea3beb7c15e6e7927dc.zip |
unittests: Do not use which, add data to paths.lua.in instead
Diffstat (limited to 'test/unit/helpers.lua')
-rw-r--r-- | test/unit/helpers.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/helpers.lua b/test/unit/helpers.lua index a8c621fd6d..11a46c52ea 100644 --- a/test/unit/helpers.lua +++ b/test/unit/helpers.lua @@ -520,7 +520,7 @@ local function gen_itp(it) if not err then if allow_failure then io.stderr:write('Errorred out:\n' .. tostring(emsg) .. '\n') - os.execute([[sh -c "source .ci/common/test.sh ; check_core_dumps --delete \"\$(which luajit)\""]]) + os.execute([[sh -c "source .ci/common/test.sh ; check_core_dumps --delete \"]] .. Paths.test_luajit_prg .. [[\""]]) else error(emsg) end @@ -560,7 +560,7 @@ local module = { return function(after_each) if after_each then after_each(function() - check_cores(which('luajit')) + check_cores(Paths.test_luajit_prg) end) end return module |