forked from github/server
abort tests when non-zero exit-code is returned, fix GiveRestriction for pool tests
This commit is contained in:
parent
88f454e1f7
commit
1c4778e3ef
|
@ -15,7 +15,7 @@ if [ ! -d $ROOT/$BIN_DIR ]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
$ROOT/$BIN_DIR/eressea/test_eressea
|
||||
$ROOT/$BIN_DIR/eressea/test_eressea || exit $?
|
||||
cd $ROOT
|
||||
[ -e eressea.ini ] || ln -sf conf/eressea.ini
|
||||
$ROOT/$BIN_DIR/eressea/eressea -v0 scripts/run-tests.lua || exit $?
|
||||
|
|
|
@ -8,6 +8,7 @@ function setup()
|
|||
eressea.settings.set("rules.economy.food", "0")
|
||||
eressea.settings.set("nmr.removenewbie", "0")
|
||||
eressea.settings.set("nmr.timeout", "0")
|
||||
eressea.settings.set("GiveRestriction", "0")
|
||||
eressea.settings.set("rules.magic.playerschools", "")
|
||||
conf = [[{
|
||||
"races": {
|
||||
|
|
Loading…
Reference in New Issue