go-test.exp: recognize errorcheckdir -n

* go.test/go-test.exp (go-gc-tests): Recognize errorcheckdir -n,
	for bug345.go.
This commit is contained in:
Ian Lance Taylor 2020-12-09 16:34:14 -08:00
parent ca2bd94949
commit 2fe4f000ad

View File

@ -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"