From fab90386a74dee1f95b8a97e8a0f6a8ea1a2610d Mon Sep 17 00:00:00 2001 From: glx Date: Fri, 23 Jan 2009 00:45:19 +0000 Subject: (svn r15213) -Fix: AI API regression failed for non unicode builds (different format for NULL pointers) --- 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 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 -- cgit v1.2.3-70-g09d2