Commit e110e232 by Ian Lance Taylor Committed by Ian Lance Taylor

* go.test/go-test.exp (errchk): Ignore lines containing ////.

From-SVN: r171370
parent 4bfc521c
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment