mirror of
https://github.com/golang/go
synced 2025-06-02 16:00:59 +00:00
cmd/go: relax the regular expression of TestScript/list_pkgconfig_error
Fixes #68283
Change-Id: Ia6af550f0fc232e4ae6f7ea96370138e958aaca2
GitHub-Last-Rev: 206ce8b0d9
GitHub-Pull-Request: golang/go#68324
Reviewed-on: https://go-review.googlesource.com/c/go/+/596935
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
This commit is contained in:
committed by
Gopher Robot
parent
6d856a804c
commit
906338f82f
@ -2,7 +2,9 @@
|
||||
[!exec:pkg-config] skip 'test requires pkg-config tool'
|
||||
|
||||
! go list -export .
|
||||
stderr '^# example\n# \[pkg-config .*\]\n(.*\n)*Package .* not found'
|
||||
# 'Package .* not found appears' in pkg-config and pkgconf; while
|
||||
# 'could not find package .*' appears in u-config. See #68283.
|
||||
stderr '#^ example\n#pkg-config .*\n(.*\n)*(Package .* not found)|(could not find package .*)'
|
||||
|
||||
-- go.mod --
|
||||
module example
|
||||
|
Reference in New Issue
Block a user