Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions bin/luatest
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
#!/usr/bin/env tarantool

--
-- Add the luatest module to LUA_PATH so that it can be used in processes
-- spawned by tests.
--
local fio = require('fio')
local path = package.search('luatest')
if path == nil then
error('luatest not found')
end
path = fio.dirname(path) -- strip init.lua
path = fio.dirname(path) -- strip luatest
os.setenv('LUA_PATH',
Comment thread
locker marked this conversation as resolved.
path .. '/?.lua;' .. path .. '/?/init.lua;' ..
(os.getenv('LUA_PATH') or ';'))

print(('Tarantool version is %s'):format(require('tarantool').version))

require('luatest.cli_entrypoint')()
Loading