forked from github/server
fix lunit
This commit is contained in:
parent
8e7919f206
commit
2529a781d8
|
@ -11,11 +11,11 @@ package.path = package.path .. ';' .. path .. '/?.lua;' .. path .. '/?/init.lua'
|
|||
|
||||
config.rules = 'e2'
|
||||
|
||||
lunit = require 'lunit'
|
||||
require 'eressea'
|
||||
require 'eressea.xmlconf'
|
||||
require 'eressea.path'
|
||||
require 'tests.e2'
|
||||
require 'lunit'
|
||||
|
||||
rng.inject(0)
|
||||
eressea.settings.set("rules.food.flags", "4")
|
||||
|
|
|
@ -11,11 +11,11 @@ package.path = package.path .. ';' .. path .. '/?.lua;' .. path .. '/?/init.lua'
|
|||
|
||||
config.rules = 'e3'
|
||||
|
||||
lunit = require 'lunit'
|
||||
require 'eressea'
|
||||
require 'eressea.path'
|
||||
require 'eressea.xmlconf'
|
||||
require 'tests.e3'
|
||||
require 'lunit'
|
||||
|
||||
rng.inject(0)
|
||||
eressea.settings.set("rules.alliances", "0")
|
||||
|
|
|
@ -9,9 +9,9 @@ if config.install then
|
|||
end
|
||||
package.path = package.path .. ';' .. path .. '/?.lua;' .. path .. '/?/init.lua'
|
||||
|
||||
lunit = require 'lunit'
|
||||
require 'eressea'
|
||||
require 'eressea.path'
|
||||
require 'tests'
|
||||
require 'lunit'
|
||||
result = lunit.main()
|
||||
return result.errors + result.failed
|
||||
|
|
Loading…
Reference in New Issue