2014-07-26 22:52:25 +02:00
|
|
|
-- new tests 2014-06-11
|
|
|
|
|
|
|
|
path = 'scripts'
|
|
|
|
if config.source_dir ~= nil then
|
2014-08-03 12:43:16 +02:00
|
|
|
path = config.source_dir .. '/' .. path
|
2014-07-26 22:52:25 +02:00
|
|
|
end
|
2014-08-03 12:43:16 +02:00
|
|
|
package.path = package.path .. ';' .. path .. '/?.lua;' .. path .. '/?/init.lua'
|
2014-07-26 22:52:25 +02:00
|
|
|
|
2014-08-03 12:43:16 +02:00
|
|
|
require 'eressea'
|
2014-08-07 13:19:19 +02:00
|
|
|
require 'eressea.path'
|
|
|
|
require 'tests'
|
2014-07-26 22:52:25 +02:00
|
|
|
require 'lunit'
|
|
|
|
lunit.main()
|