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
33
src/scripts/nightly/tests/07/01
Executable file
33
src/scripts/nightly/tests/07/01
Executable file
|
@ -0,0 +1,33 @@
|
|||
#!/bin/sh
|
||||
. "${SCRIPTDIR}"/common.sh
|
||||
runfeed 1 << EOF
|
||||
build bridge 5,-1 j
|
||||
explore c 5,-1 1 jh
|
||||
mov c 5,-1 76 7,-1
|
||||
thres c 7,-1 77
|
||||
dist * 5,-1
|
||||
des 1,1 m
|
||||
deliver i 1,1 0 g
|
||||
thres d 1,1 0
|
||||
mov d 1,1 1 -1,-1
|
||||
des -1,1 k
|
||||
thres h -1,1 1
|
||||
thres c -1,1 769
|
||||
des -4:-2,-2 o
|
||||
thres o -4:-2,-2 1
|
||||
thres c -4:-2,-2 769
|
||||
des 1,-3 o
|
||||
thres o 1,-3 1
|
||||
thres c 1,-3 769
|
||||
des 4:8,2 g
|
||||
thres d 4:8,2 1
|
||||
thres c 4:8,2 769
|
||||
thres c * ?c_dist=768 769
|
||||
bmap #1
|
||||
radar 11,-1
|
||||
cen *
|
||||
ship *
|
||||
map #
|
||||
read y
|
||||
prod *
|
||||
EOF
|
Loading…
Add table
Add a link
Reference in a new issue