1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:04:40 -07:00

cmd/go: relax the regular expression of TestScript/list_pkgconfig_error

Fixes #68283

Change-Id: I63bd128bd10565ce16a13b5a60d813368db26f26
Reviewed-on: https://go-review.googlesource.com/c/go/+/616339
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
qiulaidongfeng 2024-09-28 02:37:20 +08:00 committed by Gopher Robot
parent b3312065ce
commit 8f0fb2c54e

View File

@ -2,7 +2,7 @@
[!exec:pkg-config] skip 'test requires pkg-config tool'
! go list -export .
stderr '^# example\n# \[pkg-config .*\]\n(.*\n)*Package .* not found'
stderr '^# example\n# \[pkg-config .*\]\n(.*\n)*(Package .* not found)|(could not find package .*)'
-- go.mod --
module example