This breaks make -C gcc check-go RUNTESTFLAGS="go-test.exp=chan.go":

ERROR: tcl error sourcing 
/opt/gcc/gcc-20201209/gcc/testsuite/go.test/go-test.exp.
ERROR: couldn't compile regular expression pattern: parentheses () not balanced
    while executing
"regsub -all "(^|\n)(\[^\n\]+$line\[^\n\]*($pattern)\[^\n\]*\n?)+" $comp_output 
"\n" comp_output"
    (procedure "saved-dg-test" line 125)
    invoked from within
"saved-dg-test chan.go {  -O } {-fno-show-column  -pedantic-errors }"
    ("eval" body line 1)
    invoked from within
"eval saved-dg-test $args "
    (procedure "dg-test" line 1)
    invoked from within
"dg-test $test "$flags $flags_t" ${default-extra-flags}"
    (procedure "go-dg-runtest" line 24)
    invoked from within
"go-dg-runtest $filename "" "-fno-show-column $DEFAULT_GOCFLAGS $opts""
    (procedure "errchk" line 83)
    invoked from within
"errchk $test """
    (procedure "go-gc-tests" line 309)
    invoked from within
"go-gc-tests"
    (file "/opt/gcc/gcc-20201209/gcc/testsuite/go.test/go-test.exp" line 1217)
    invoked from within
"source /opt/gcc/gcc-20201209/gcc/testsuite/go.test/go-test.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source /opt/gcc/gcc-20201209/gcc/testsuite/go.test/go-test.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to