aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2011-03-23 23:59:46 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-03-23 23:59:46 +0000
commite110e232b6f7bbd3b4315161373f61623204d2b4 (patch)
tree90911f49ff9581a1dce5071a7032ab6d16e4366d /gcc
parent4bfc521c9eeadaac02870c419fad9ba67da0ff3c (diff)
downloadgcc-e110e232b6f7bbd3b4315161373f61623204d2b4.zip
gcc-e110e232b6f7bbd3b4315161373f61623204d2b4.tar.gz
gcc-e110e232b6f7bbd3b4315161373f61623204d2b4.tar.bz2
* go.test/go-test.exp (errchk): Ignore lines containing ////.
From-SVN: r171370
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/go.test/go-test.exp4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e6d799d..cff3e49 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-23 Ian Lance Taylor <iant@google.com>
+
+ * go.test/go-test.exp (errchk): Ignore lines containing ////.
+
2011-03-23 Richard Guenther <rguenther@suse.de>
* gcc.dg/struct: Remove directory and contents.
diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp
index 19cc0df..63800ac 100644
--- a/gcc/testsuite/go.test/go-test.exp
+++ b/gcc/testsuite/go.test/go-test.exp
@@ -51,6 +51,10 @@ proc errchk { test } {
set fdout [open $filename w]
fconfigure $fdout -encoding binary
while { [gets $fdin copy_line] >= 0 } {
+ if [string match "*////*" $copy_line] {
+ puts $fdout $copy_line
+ continue
+ }
regsub "// \(GCCGO_\)?ERROR \"\(\[^\"\]*\)\".*$" $copy_line "// \{ dg-error \"\\2\" \}" out_line
if [string match "*dg-error*.\**" $out_line] {
# I worked out the right number of backslashes by