From: Ian Lance Taylor Date: Wed, 23 Mar 2011 23:59:46 +0000 (+0000) Subject: * go.test/go-test.exp (errchk): Ignore lines containing ////. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e110e232b6f7bbd3b4315161373f61623204d2b4;p=gcc.git * go.test/go-test.exp (errchk): Ignore lines containing ////. From-SVN: r171370 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e6d799d2b06..cff3e4977bf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-03-23 Ian Lance Taylor + + * go.test/go-test.exp (errchk): Ignore lines containing ////. + 2011-03-23 Richard Guenther * 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 19cc0dfc4d3..63800ac5bd9 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