summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-02-16 21:08:32 +0000
committerrubidium <rubidium@openttd.org>2012-02-16 21:08:32 +0000
commitfc732206e6dc292ffab6c313ccbb2b20a486f2d2 (patch)
tree8109cf2cffbc64821a55b2760c8d91ec329bf308 /bin
parentea2f19d4f28d5758626dc58b497b933e01e106af (diff)
downloadopenttd-fc732206e6dc292ffab6c313ccbb2b20a486f2d2.tar.xz
(svn r23959) -Change: make regression less faily when spurious warnings are shown
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ai/regression/run.sh2
1 files changed, 1 insertions, 1 deletions
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