]> Cypherpunks repositories - gostls13.git/commit
cmd/go: skip TestCgoPkgConfig if pkg-config is too old
authorQuentin Smith <quentin@golang.org>
Thu, 10 Nov 2016 16:45:56 +0000 (11:45 -0500)
committerQuentin Smith <quentin@golang.org>
Fri, 11 Nov 2016 22:16:47 +0000 (22:16 +0000)
commit02d79e95581e53edca21f0c105675b3f459ee736
tree8f14f1d3c2b1f0ff1c2860795012322092149bde
parenta18b4b3fb9b1b98f6eefa038b723f99fd6d13efd
cmd/go: skip TestCgoPkgConfig if pkg-config is too old

pkg-config 0.24 adds support for quoting and escaping whitespace;
distros like CentOS 6 are still shipping pkg-config 0.23. Skip the test
there since there's no way to get whitespace into the pkg-config output.

Fixes #17846.

Change-Id: Ie4ea17e9b709372a20178b539498929754bcd51f
Reviewed-on: https://go-review.googlesource.com/33027
Run-TryBot: Quentin Smith <quentin@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/go_test.go