aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authormatloob@golang.org <matloob@golang.org>2025-10-28 11:18:02 -0400
committerMichael Matloob <matloob@google.com>2025-11-03 12:46:38 -0800
commit85bec791a0941734520217d548f80714554e5f20 (patch)
tree0271582790c0b831efd13f46b9e0bc09f8ee55cf /src/cmd
parent17b57078ab5388d830c28965717c3cc52bb845e1 (diff)
downloadgo-85bec791a0941734520217d548f80714554e5f20.tar.xz
cmd/go/testdata/script: loosen list_empty_importpath for freebsd
We've been seeing the flakes where we get a 'no errors' output on freebsd in addition to windows and solaris. Also allow that case to avoid flakes. For #73976 Change-Id: I6a6a696445ec908b55520d8d75e7c1f867b9c092 Reviewed-on: https://go-review.googlesource.com/c/go/+/715640 Reviewed-by: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Matloob <matloob@google.com> Reviewed-by: Ian Alexander <jitsu@google.com>
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/go/testdata/script/list_empty_importpath.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cmd/go/testdata/script/list_empty_importpath.txt b/src/cmd/go/testdata/script/list_empty_importpath.txt
index 4ddf6b36d2..fe4210322b 100644
--- a/src/cmd/go/testdata/script/list_empty_importpath.txt
+++ b/src/cmd/go/testdata/script/list_empty_importpath.txt
@@ -1,12 +1,15 @@
! go list all
! stderr 'panic'
-[!GOOS:windows] [!GOOS:solaris] stderr 'invalid import path'
-# #73976: Allow 'no errors' on Windows and Solaris until issue
+[!GOOS:windows] [!GOOS:solaris] [!GOOS:freebsd] [!GOOS:openbsd] [!GOOS:netbsd] stderr 'invalid import path'
+# #73976: Allow 'no errors' on Windows, Solaris, and BSD until issue
# is resolved to prevent flakes. 'no errors' is printed by
# empty scanner.ErrorList errors so that's probably where the
# message is coming from, though we don't know how.
[GOOS:windows] stderr 'invalid import path|no errors'
[GOOS:solaris] stderr 'invalid import path|no errors'
+[GOOS:freebsd] stderr 'invalid import path|no errors'
+[GOOS:openbsd] stderr 'invalid import path|no errors'
+[GOOS:netbsd] stderr 'invalid import path|no errors'
# go list produces a package for 'p' but not for ''
go list -e all