diff options
author | truebrain <truebrain@openttd.org> | 2011-12-01 12:04:10 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-01 12:04:10 +0000 |
commit | a8b22e5292e5b0e47a7dbecf47e530f877624ecf (patch) | |
tree | 73e78e63639615b579436a0d6df3df4eb0ab3391 /bin/ai | |
parent | fedeba5f0021217ce23fbe106b31687cbeb643ce (diff) | |
download | openttd-a8b22e5292e5b0e47a7dbecf47e530f877624ecf.tar.xz |
(svn r23386) -Fix: debug script related events to 'script' (removes 'ai')
Diffstat (limited to 'bin/ai')
-rwxr-xr-x | bin/ai/regression/run.sh | 2 |
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 |