Move test scripts from nightlybuild.sh to separate files
The test scripts are now in nightly/tests/TURN/PLAYER. For each turn, the update script is executed first (except for turn 00), and then all the player scripts in the appropriate turn directory. This runs runfeed() in different directories; change it to accomodate for that. The update script runs "report *" on all updates. Before, it ran only on some of them.
This commit is contained in:
parent
945b473250
commit
17f44e8104
32 changed files with 610 additions and 636 deletions
|
@ -29,6 +29,6 @@ runfeed() {
|
|||
[ -n "$REP" ] || REP="$1"
|
||||
{
|
||||
cat
|
||||
} | ../bin/empire "$1" "$REP" || { warn "empire not ok ?" ; return 1 ; }
|
||||
} | ${EMPIRE_PATH}/empire "$1" "$REP" || { warn "empire not ok ?" ; return 1 ; }
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue