public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-5638] go-test.exp: permit trailing */ on ERROR line
@ 2020-12-02 2:20 Ian Lance Taylor
0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2020-12-02 2:20 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:eacc335bf91640b413066b5f5803f5964b2b2c99
commit r11-5638-geacc335bf91640b413066b5f5803f5964b2b2c99
Author: Ian Lance Taylor <iant@golang.org>
Date: Tue Dec 1 18:18:34 2020 -0800
go-test.exp: permit trailing */ on ERROR line
* go.test/go-test.exp (errchk): Permit trailing */ on ERROR line.
Diff:
---
gcc/testsuite/go.test/go-test.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp
index 51f9b381d67..067f309a296 100644
--- a/gcc/testsuite/go.test/go-test.exp
+++ b/gcc/testsuite/go.test/go-test.exp
@@ -105,7 +105,7 @@ proc errchk { test opts } {
set copy_line $out_line
}
- regsub "// \(GCCGO_\)?ERROR \"\(\[^\"\]*\)\".*$" $copy_line "// \{ dg-error \"\\2\" \}" out_line
+ regsub "// \(GCCGO_\)?ERROR \"\(\[^\"\]*\)\" *\(\\*/\)?$" $copy_line "// \{ dg-error \"\\2\" \}\\3" out_line
if [string match "*dg-error*\\\[*" $out_line] {
set index [string first "dg-error" $out_line]
regsub -start $index -all "\\\\\\\[" $out_line "\\\\\\\\\\\[" out_line
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-02 2:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02 2:20 [gcc r11-5638] go-test.exp: permit trailing */ on ERROR line Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).