3 # Run one or more regression hunts
5 # The file specified as the single argument is a queue of regression
6 # hunts and/or lists of patches to test. Each entry in the file is
7 # "hunt" or "test" followed by a bugid for which there is a config
8 # file and other required files (patch list and test source file).
9 # Each line of the file is removed as it is processed, and new ones
10 # can be added while the script is still running.
15 echo "usage: $0 testfile"
22 if [ ! -f $REGFILE ]; then
23 echo "$0: file $REGFILE does not exist"
27 RETURN_FOR_TEST
=return
35 echo regression hunt
for $id
38 reg-hunt
$id.config
>> $id.log
2>&1
40 #tail -n 1 $id.log | mutt -s "reghunt for $id finished" janis187
46 echo testing specific dates
for $id
49 reg-test
$id.config
>> $id.log
2>&1
50 #mutt -s "reg-test for $id finished" janis187 < /dev/null
56 read WHICH ID
< $REGFILE
58 if [ -f $REG_STOP ]; then
59 echo "$REG_STOP detected"
64 sed 1d
< $REGFILE > $TMPFILE
70 *) echo "unknown action $WHICH, skipping $ID";;