forked from github/server
Merge pull request #149 from badgerman/tests-exit-code
fixing exit code of test scripts
This commit is contained in:
commit
0a54cf9c79
|
@ -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
|
||||
|
|
|
@ -10,4 +10,5 @@ require 'eressea'
|
|||
require 'eressea.path'
|
||||
require 'tests'
|
||||
require 'lunit'
|
||||
lunit.main()
|
||||
result = lunit.main()
|
||||
return result.errors
|
||||
|
|
Loading…
Reference in New Issue