From: Ian Lance Taylor Date: Thu, 10 Dec 2020 00:34:14 +0000 (-0800) Subject: go-test.exp: recognize errorcheckdir -n X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fe4f000ad113e44a8d68794013b7c751a3bc05d;p=gcc.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 d11a2c2bba4..b03cb16990d 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"