summaryrefslogtreecommitdiff
path: root/test/run
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2008-09-19 14:39:49 -0700
committerIan Lance Taylor <iant@golang.org>2008-09-19 14:39:49 -0700
commite8907d80fc5aba60cca1f287397ff0736b43de3b (patch)
treedf2e4b5c4c47f9343b5593e06979b50720b00234 /test/run
parent6827f966c8e1f1b0f59ec5885f78bfe44073f1a6 (diff)
downloadgolang-e8907d80fc5aba60cca1f287397ff0736b43de3b.tar.gz
Check for specific error messages in the testsuite. This
permits testing that the compiler emits error messages for specific lines that match egrep regexps. The desired error messages are expressed using comments of the form // ERROR "regexp" R=r DELTA=90 (73 added, 8 deleted, 9 changed) OCL=15513 CL=15566
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run b/test/run
index 8013efe4a..dc429dd67 100755
--- a/test/run
+++ b/test/run
@@ -18,6 +18,8 @@ export L=${A}l
failed=0
+PATH=/bin:/usr/bin:$HOME/bin:`pwd`
+
# don't use $$ in file names to avoid spurious diffs
RUNFILE=/tmp/gorun-$USER
TMP1FILE=/tmp/gotest1-$USER