From 2fe4f000ad113e44a8d68794013b7c751a3bc05d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 9 Dec 2020 16:34:14 -0800 Subject: [PATCH] go-test.exp: recognize errorcheckdir -n * go.test/go-test.exp (go-gc-tests): Recognize errorcheckdir -n, for bug345.go. --- 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 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" -- 2.30.2