From fc732206e6dc292ffab6c313ccbb2b20a486f2d2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 16 Feb 2012 21:08:32 +0000 Subject: (svn r23959) -Change: make regression less faily when spurious warnings are shown --- bin/ai/regression/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/ai/regression/run.sh b/bin/ai/regression/run.sh index c104852bf..3420742e9 100755 --- a/bin/ai/regression/run.sh +++ b/bin/ai/regression/run.sh @@ -25,7 +25,7 @@ fi if [ -n "$gdb" ]; then $gdb ./openttd -x -c ai/regression/regression.cfg $params -g ai/regression/regression.sav else - ./openttd -x -c ai/regression/regression.cfg $params -g ai/regression/regression.sav -d script=2 2>&1 | awk '{ gsub("0x(\\(nil\\)|0+)(x0)?", "0x00000000", $0); gsub("^dbg: \\[script\\]", "", $0); gsub("^ ", "ERROR: ", $0); gsub("ERROR: \\[1\\] ", "", $0); gsub("\\[P\\] ", "", $0); print $0; }' > tmp.regression + ./openttd -x -c ai/regression/regression.cfg $params -g ai/regression/regression.sav -d script=2 -d misc=9 2>&1 | awk '{ gsub("0x(\\(nil\\)|0+)(x0)?", "0x00000000", $0); gsub("^dbg: \\[script\\]", "", $0); gsub("^ ", "ERROR: ", $0); gsub("ERROR: \\[1\\] ", "", $0); gsub("\\[P\\] ", "", $0); print $0; }' | grep -v '^dbg: \[.*\]' > tmp.regression fi ret=0 -- cgit v1.2.3-70-g09d2