1
0
mirror of https://github.com/golang/go synced 2024-11-15 01:10:21 -07:00

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

This reverts commit 906338f82f.

Reason for revert: break gotip-linux-loong64 builder.

Fixes #69651
Updates #68283

Change-Id: I909b52ed0fd999e21c00c1d9d80d7fe2fd4898a1
Reviewed-on: https://go-review.googlesource.com/c/go/+/616336
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
This commit is contained in:
qiu laidongfeng2 2024-09-27 17:24:38 +00:00 committed by David Chase
parent de46eaadb5
commit 1646f725bb

View File

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