2015-02-13 16:03:05 +01:00
|
|
|
-- Basic test without loading XML Config. Test care about needed settings.
|
|
|
|
-- Tests are under scripts/test/ and all files must be in scripts/test/init.lua
|
2014-07-26 22:52:25 +02:00
|
|
|
|
2021-02-22 01:53:01 +01:00
|
|
|
lunit = require 'lunit'
|
2020-05-03 16:52:40 +02:00
|
|
|
if _VERSION >= 'Lua 5.2' then
|
|
|
|
module = lunit.module
|
|
|
|
end
|
|
|
|
|
2014-08-07 13:19:19 +02:00
|
|
|
require 'eressea.path'
|
2021-02-22 01:53:01 +01:00
|
|
|
require 'eressea'
|
2014-08-07 13:19:19 +02:00
|
|
|
require 'tests'
|
2015-02-16 16:59:07 +01:00
|
|
|
result = lunit.main()
|
2015-05-21 08:27:07 +02:00
|
|
|
return result.errors + result.failed
|