From: Ian Lance Taylor Date: Thu, 10 Dec 2020 00:34:14 +0000 (-0800) Subject: go-test.exp: recognize errorcheckdir -n X-Git-Tag: basepoints/gcc-12~2364 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fe4f000ad113e44a8d68794013b7c751a3bc05d;p=thirdparty%2Fgcc.git go-test.exp: recognize errorcheckdir -n * go.test/go-test.exp (go-gc-tests): Recognize errorcheckdir -n, for bug345.go. --- diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp index d11a2c2bba4f..b03cb16990d9 100644 --- a/gcc/testsuite/go.test/go-test.exp +++ b/gcc/testsuite/go.test/go-test.exp @@ -618,7 +618,7 @@ proc go-gc-tests { } { go-execute-xfail $test } elseif { $test_line == "// errorcheck" } { errchk $test "" - } elseif { $test_line == "// errorcheckdir" } { + } elseif { $test_line == "// errorcheckdir" || $test_line == "// errorcheckdir -n" } { set hold_runtests $runtests set runtests "go-test.exp" set dir "[file rootname $test].dir"