summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-01 12:04:10 +0000
committertruebrain <truebrain@openttd.org>2011-12-01 12:04:10 +0000
commita8b22e5292e5b0e47a7dbecf47e530f877624ecf (patch)
tree73e78e63639615b579436a0d6df3df4eb0ab3391 /bin
parentfedeba5f0021217ce23fbe106b31687cbeb643ce (diff)
downloadopenttd-a8b22e5292e5b0e47a7dbecf47e530f877624ecf.tar.xz
(svn r23386) -Fix: debug script related events to 'script' (removes 'ai')
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 1da1ad2ce..c104852bf 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 ai=2 2>&1 | awk '{ gsub("0x(\\(nil\\)|0+)(x0)?", "0x00000000", $0); gsub("^dbg: \\[ai\\]", "", $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 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
fi
ret=0