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:
Ron Koenderink 2008-09-26 19:47:16 -06:00 committed by Markus Armbruster
parent 945b473250
commit 17f44e8104
32 changed files with 610 additions and 636 deletions

19
src/scripts/nightly/tests/02/01 Executable file
View file

@ -0,0 +1,19 @@
#!/bin/sh
. "${SCRIPTDIR}"/common.sh
runfeed 1 << EOF
desi -1,-1 b
mov i 2,0 200 4,0
mov i 1,-1 4 jh
mov c -1,-1 300 4,0
mov c -1,-1 300 3,-1
mov c 1,-1 175 3,-1
deli i 2,0 0 j
deli i 1,-1 0 j
mov c 2,0 230 5,-1
desi 4,0 k
desi 3,-1 j
dist # 5,-1
thre h 4,0 1
thre l 3,-1 1
desi 5,-1 h
EOF