]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go: make pkg-config check less picky
authorAustin Clements <austin@google.com>
Wed, 18 Oct 2023 14:48:50 +0000 (10:48 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 18 Oct 2023 15:03:54 +0000 (15:03 +0000)
commit144252d2e64c9f375760f98d6a04d20601b6d3a0
treeb7b9fdbbc4e845862a0257dcf76aefeb56f0c90d
parent4bf4c7d2e2aceeb9fe53642ab1f200064aff8163
cmd/go: make pkg-config check less picky

CL 529219 tweaked the list_pkgconfig_error script test currently to
expect pkg-config to fail with "Package .* not found$", but on several
OSes (at least OpenBSD, AIX, and Solaris), pkg-config prints "Package
libnot-a-valid-cgo-library was not found in the pkg-config search
path". Fix the test on these OSes by dropping the "$" so the test
doesn't require the line to end with "not found".

Change-Id: I40c577521f34c360a1d62355596958f6f969eb54
Reviewed-on: https://go-review.googlesource.com/c/go/+/536195
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Auto-Submit: Austin Clements <austin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/testdata/script/list_pkgconfig_error.txt