summaryrefslogtreecommitdiff
path: root/bin/ai
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2009-01-23 00:45:19 +0000
committerglx <glx@openttd.org>2009-01-23 00:45:19 +0000
commitb13157099aa0d6955a5c9376cef7371f8271374e (patch)
tree041aa6d3c504b3ea4dacd741ba1d1fa8ea0f1106 /bin/ai
parentbd08be44ea9b0d72e4394a35e5a1071cb08afec6 (diff)
downloadopenttd-b13157099aa0d6955a5c9376cef7371f8271374e.tar.xz
(svn r15213) -Fix: AI API regression failed for non unicode builds (different format for NULL pointers)
Diffstat (limited to 'bin/ai')
-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 4842bc6f3..d15358016 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\\)", "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 ai=2 2>&1 | awk '{ gsub("0x(\\(nil\\)|0)", "0x00000000", $0); gsub("^dbg: \\[ai\\]", "", $0); gsub("^ ", "ERROR: ", $0); gsub("ERROR: \\[1\\] ", "", $0); gsub("\\[P\\] ", "", $0); print $0; }' > tmp.regression
fi
if [ -z "$gdb" ]; then