Merge pull request #149 from badgerman/tests-exit-code

fixing exit code of test scripts
This commit is contained in:
Enno Rehling 2015-02-16 17:16:19 +01:00
commit 0a54cf9c79
2 changed files with 4 additions and 2 deletions

View File

@ -16,4 +16,5 @@ require 'lunit'
eressea.settings.set("rules.alliances", "0")
rules = require('eressea.' .. config.rules)
lunit.main()
result = lunit.main()
return result.errors

View File

@ -10,4 +10,5 @@ require 'eressea'
require 'eressea.path'
require 'tests'
require 'lunit'
lunit.main()
result = lunit.main()
return result.errors