summaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.test
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-12-09 16:34:14 -0800
committerIan Lance Taylor <iant@golang.org>2020-12-09 16:35:08 -0800
commit2fe4f000ad113e44a8d68794013b7c751a3bc05d (patch)
tree92e767a05fcce793dcbfa263ba01cbf3e34e3aff /gcc/testsuite/go.test
parentca2bd9494927c0caf7b3fce96a5bcda43f3e0c3e (diff)
go-test.exp: recognize errorcheckdir -n
* go.test/go-test.exp (go-gc-tests): Recognize errorcheckdir -n, for bug345.go.
Diffstat (limited to 'gcc/testsuite/go.test')
-rw-r--r--gcc/testsuite/go.test/go-test.exp2
1 files changed, 1 insertions, 1 deletions
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"