server/scripts/run-tests.lua

13 lines
284 B
Lua

-- new tests 2014-06-11
path = 'scripts'
if config.source_dir ~= nil then
path = config.source_dir .. '/' .. path
end
package.path = package.path .. ';' .. path .. '/?.lua;' .. path .. '/?/init.lua'
require 'eressea'
require 'eressea.tests'
require 'lunit'
read_xml()
lunit.main()