summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-05-24 08:52:47 +0000
committerZac Medico <zmedico@gentoo.org>2015-05-24 08:52:47 +0000
commitf79022b06a611f98069b35f9662be46fa6813c51 (patch)
tree431e659027bf5f485f245f70d0d63cdecd3b122e /dev-go
parentFix FreeBSD Errata. Fix build failure with USE=zfs, reported by NP-Hardass. h... (diff)
downloadhistorical-f79022b06a611f98069b35f9662be46fa6813c51.tar.gz
historical-f79022b06a611f98069b35f9662be46fa6813c51.tar.bz2
historical-f79022b06a611f98069b35f9662be46fa6813c51.zip
Disable broken tests.
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0xFDE8EF85AE5719A3
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-net/ChangeLog6
-rw-r--r--dev-go/go-net/Manifest12
-rw-r--r--dev-go/go-net/go-net-1.4.2_p20150520.ebuild54
-rw-r--r--dev-go/go-net/go-net-9999.ebuild56
4 files changed, 29 insertions, 99 deletions
diff --git a/dev-go/go-net/ChangeLog b/dev-go/go-net/ChangeLog
index a17cf9103d5e..087351dba2a2 100644
--- a/dev-go/go-net/ChangeLog
+++ b/dev-go/go-net/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-go/go-net
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v 1.4 2015/05/21 08:25:46 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v 1.5 2015/05/24 08:52:41 zmedico Exp $
+
+ 24 May 2015; Zac Medico <zmedico@gentoo.org> go-net-1.4.2_p20150520.ebuild,
+ go-net-9999.ebuild:
+ Disable broken tests.
21 May 2015; Zac Medico <zmedico@gentoo.org> go-net-1.4.2_p20150520.ebuild:
Remove unused git-r3 inherit.
diff --git a/dev-go/go-net/Manifest b/dev-go/go-net/Manifest
index 581a9004ab1f..e460b4554c00 100644
--- a/dev-go/go-net/Manifest
+++ b/dev-go/go-net/Manifest
@@ -2,14 +2,14 @@
Hash: SHA256
DIST go-net-1.4.2_p20150520.tar.gz 450301 SHA256 e0f3069df10e710e5e13dcfafeba8bca604d83bda7b253fccf38934cc4a76fa3 SHA512 dbf6c50d6da21e7e44a48a71ea02c9d03dd2535a1fecc46060f2b42bd6d922b53f3455138120cf7c499834cb0aa6a8b8282a0b14dee085c350b2cc00de8787be WHIRLPOOL 65439c96cbb35f634ded4746cbd6b22d99574547de17120e1748897b370738138d6cdfc808421dcf2a5289fe3336dca406ee53e4e423b524c05d99249fbe27d0
-EBUILD go-net-1.4.2_p20150520.ebuild 4186 SHA256 def6c3aba6fbd7b2dba3d2e7ebb5231a53969e47ff32baf46fc0b6808be2e6ca SHA512 a9c785d6db4fcec4ae15ab73fef91bed6d115472ec52c7196a62f50beeefabdb6fa8e24431a68ad5e4bbb4463da0073160b511593bad302653eae7c790399a36 WHIRLPOOL b86f81f628588b2b25676ecd33b84b42a81b9ea6dc94c64adc66fef6cae9c6fb1e7182498498a396bfb15a395b35c53e8df9697370870192411635de328d718d
-EBUILD go-net-9999.ebuild 3970 SHA256 c623aa4f73a404e810ef8f69e8d52f3a945ea5f71653f22b1bbf3c77e02311bd SHA512 0a9d04f352876bb732f9a45ba930938630134e428300d5e49a4bf06d1d29d28c36766221419ce26a67c44b017eeae56c580114037c5eb748df957579800ef1ff WHIRLPOOL 79b515312ea30f828b51fd369c40da97e5817c1838c28f9204899d3c572c4166c1b219548b65f05354371ce5ed54c7dbf9a5fcf3f6ca9cc9ff4635e9a5dc7b47
-MISC ChangeLog 673 SHA256 e316b8dc1b6ce9748f4c54fab7cfff9325ef110612dbddad10d2a85bfd1ef23a SHA512 80b1731ff1acee1d00cc144eaacacc683c4ce83bd0bb65b04a4f1972041ce80ebd13ee18907d361a568bd3d273f7625147389bd5d0572c45d0d9d843d73509c1 WHIRLPOOL a70fc75b9f2bf723e686e265caf58353d8ac5530021b3ce1fb621bad5a713333f5f9da12a3817db27b1a62e7d87cb01a44a3bd784c4680fb122c6d4c94ce68a6
+EBUILD go-net-1.4.2_p20150520.ebuild 1531 SHA256 78df051bfe0c27212ef6e32031f5e731dad8b0065c4446c7c402ae25a0e52738 SHA512 2b5b416a4c6b6765cff49e5883cec5b8681e95ff926a99cf28fddf207c61d15906c64362c070ddd61db2f1bddeed6a2c556ac8f50b762e169d49c4ea548f1f25 WHIRLPOOL 69ce05f62e2168c83ce4856942128d6c9aef03edc839b287cedf63b46a278306e61adfb65d4dcf82bdd75da6ba4cdd960f3a01be85cf3c609561d449956bca20
+EBUILD go-net-9999.ebuild 1358 SHA256 d74670d833a9fcf93c84fe41db6cbf323311497716bee0963079988181126a5c SHA512 b02cbcee30e499a95e2a5b7e6719f99c606b936e20fe5eed3751da811e1fd16b43ad9199ea12f601a1c74dbcb0c8c0f9a9aba4a6d8ebcbedf6664afde957cfe7 WHIRLPOOL 4a9352ecfbb5e33678c8ce14f7a920b98796e389e31b830127460288a0c355a2dd04619bdc7d74b22d2dd62cbf12c490ed56f79a680437096622d8f33d995a22
+MISC ChangeLog 798 SHA256 db3e933ba70247bce77e669e46c7bad7555146bc7d1ebe2e6fea7ce924e971d7 SHA512 8779891b7e2d621a4f9e5fb101916c6663a7f06d8d27c36b32f2dd02e7293b11d20963510f68b4b289d0b78e733e34a9a608e9332c25f9e8c5b52dafc4b686a6 WHIRLPOOL f0cc4fb7d379d2864c30f2552cf9b2d64deb140341b0a9b3ba9935e11795c70c7252239859119dd7e4c3a0faeb840933b68231739d70a0466a6628279bbcabe3
MISC metadata.xml 208 SHA256 67f4cd233dc8d6d341b8da89aef2654cae64f7e3b62fbcdd3a35e6e30e898e36 SHA512 5213f6c100db04c6bbbf73b4e52042caf1744aa805af76053f5ecaf5f921ffdd35c41507b492da65c6071f1699472db6c9334dcd5bb7da752dca8efe7e1c7aa4 WHIRLPOOL a43dc0ecd7f37ba8cf4d510a1195338816b6193e5c5517c8e005662a06d7fb62c725a3c2981474a872cba628c268de1bea0fb67a31ae1842a252c0fdc723eb4d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlVdlosACgkQ/ejvha5XGaO4+ACffPuVHBqufWXtgJOE+m4BZ3T5
-qgoAnRY8NRXql1Ej9Ey0r+L4knf5nF92
-=ioc6
+iEYEAREIAAYFAlVhkVoACgkQ/ejvha5XGaNIugCfbPRY02cxJpg3UOKs1VXWSZ4Z
+2t4AoKZjLtymxlrMZxcR/7lRsBLPQwcj
+=Aekq
-----END PGP SIGNATURE-----
diff --git a/dev-go/go-net/go-net-1.4.2_p20150520.ebuild b/dev-go/go-net/go-net-1.4.2_p20150520.ebuild
index 08b2ac27874e..09aa1c74b0ae 100644
--- a/dev-go/go-net/go-net-1.4.2_p20150520.ebuild
+++ b/dev-go/go-net/go-net-1.4.2_p20150520.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-1.4.2_p20150520.ebuild,v 1.2 2015/05/21 08:25:46 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-1.4.2_p20150520.ebuild,v 1.3 2015/05/24 08:52:41 zmedico Exp $
EAPI=5
@@ -27,6 +27,12 @@ src_unpack() {
mv ${MY_PN}-${EGIT_COMMIT} src/${GO_PN} || die
}
+src_prepare() {
+ # disable broken tests
+ sed -e 's:TestReadProppatch(:_\0:' -i webdav/xml_test.go || die
+ sed -e 's:TestPingGoogle(:_\0:' -i icmp/ping_test.go || die
+}
+
src_compile() {
# Create a writable GOROOT in order to avoid sandbox violations.
GOROOT="${WORKDIR}/goroot"
@@ -38,51 +44,7 @@ src_compile() {
src_test() {
GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
- go test -run "^(Example(WithTimeout|Parse)|"$(
- echo -n '|Test(Background|TODO|WithCancel|ParentFinishesChild|'
- echo -n 'ChildFinishesFirst|Deadline|Timeout|CanceledTimeout|'
- echo -n 'Values|Allocs|SimultaneousCancels|InterlockedCancels|'
- echo -n 'LayersCancel|LayersTimeout|CancelRemoves|EntityLength|'
- echo -n 'Unescape|UnescapeEscape|Parser|NodeConsistency|Renderer|'
- echo -n 'Tokenizer|MaxBuffer|MaxBufferReconstruction|Passthrough|'
- echo -n 'BufAPI|ConvertNewlines|ReaderEdgeCases|Known|Hits|Misses|'
- echo -n 'ForeignObject|Decode|Encode|Names|Sniff|Reader|FromMeta|'
- echo -n 'XML|MarshalAndParseExtension|ParseIPv4Header|'
- echo -n 'MarshalAndParseMessageForIPv4|MarshalAndParseMessageForIPv6|'
- echo -n 'MarshalAndParseMultipartMessageForIPv4|'
- echo -n 'MarshalAndParseMultipartMessageForIPv6|IDNA|Punycode|'
- echo -n 'PunycodeErrors|MarshalHeader|ParseHeader|ICMPString|'
- echo -n 'ICMPFilter|UDPSinglePacketConnWithMultipleGroupListeners|'
- echo -n 'UDPMultiplePacketConnWithMultipleGroupListeners|'
- echo -n 'UDPPerInterfaceSinglePacketConnWithSingleGroupListener|'
- echo -n 'PacketConnConcurrentReadWriteUnicastUDP|'
- echo -n 'PacketConnReadWriteUnicastUDP|ConnUnicastSocketOptions|'
- echo -n 'PacketConnUnicastSocketOptions|ParseHeader|ICMPString|'
- echo -n 'ICMPFilter|UDPSinglePacketConnWithMultipleGroupListeners|'
- echo -n 'UDPMultiplePacketConnWithMultipleGroupListeners|'
- echo -n 'UDPPerInterfaceSinglePacketConnWithSingleGroupListener|'
- echo -n 'PacketConnConcurrentReadWriteUnicastUDP|ConnInitiatorPathMTU|'
- echo -n 'ConnResponderPathMTU|PacketConnReadWriteUnicastUDP|'
- echo -n 'ConnUnicastSocketOptions|PacketConnUnicastSocketOptions|'
- echo -n 'LimitListener|LimitListenerError|PerHost|FromURL|SOCKS5|'
- echo -n 'NodeLabel|Find|ICANN|PublicSuffix|SlowPublicSuffix|'
- echo -n 'EffectiveTLDPlusOne|SlashClean|DirResolve|Walk|Dir|MemFS|'
- echo -n 'MemFSRoot|MemFileReaddir|MemFile|MemFileWriteAllocs|WalkFS|'
- echo -n 'ParseIfHeader|WalkToRoot|MemLSCanCreate|MemLSLookup|'
- echo -n 'MemLSConfirm|MemLSNonCanonicalRoot|MemLSExpiry|MemLS|'
- echo -n 'ParseTimeout|MemPS|ReadLockInfo|ReadPropfind|'
- echo -n 'SecWebSocketAccept|HybiClientHandshake|'
- echo -n 'HybiClientHandshakeWithHeader|HybiServerHandshake|'
- echo -n 'HybiServerHandshakeNoSubProtocol|'
- echo -n 'HybiServerHandshakeHybiBadVersion|HybiShortTextFrame|'
- echo -n 'HybiShortMaskedTextFrame|HybiShortBinaryFrame|'
- echo -n 'HybiControlFrame|HybiLongFrame|HybiClientRead|'
- echo -n 'HybiShortRead|HybiServerRead|HybiServerReadWithoutMasking|'
- echo -n 'HybiClientReadWithMasking|HybiServerFirefoxHandshake|Echo|'
- echo -n 'Addr|Count|WithQuery|WithProtocol|WithTwoProtocol|'
- echo -n 'WithBadProtocol|HTTP|TrailingSpaces|DialConfigBadVersion|'
- echo -n 'SmallBuffer|ParseAuthority|Close))$') \
- -x -v ${GO_PN}/... || die $?
+ go test -x -v ${GO_PN}/... || die $?
}
src_install() {
diff --git a/dev-go/go-net/go-net-9999.ebuild b/dev-go/go-net/go-net-9999.ebuild
index 4f9c60eecd30..cbc2fce7dacc 100644
--- a/dev-go/go-net/go-net-9999.ebuild
+++ b/dev-go/go-net/go-net-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-9999.ebuild,v 1.2 2015/05/21 06:16:46 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-9999.ebuild,v 1.3 2015/05/24 08:52:41 zmedico Exp $
EAPI=5
inherit git-r3
@@ -20,6 +20,14 @@ S="${WORKDIR}/src/${GO_PN}"
EGIT_CHECKOUT_DIR="${S}"
STRIP_MASK="*.a"
+src_prepare() {
+ # disable broken tests
+ sed -e 's:TestReadProppatch(:_\0:' -i webdav/xml_test.go || die
+ sed -e 's:TestPingGoogle(:_\0:' \
+ -e 's:TestNonPrivilegedPing(:_\0:' \
+ -i icmp/ping_test.go || die
+}
+
src_compile() {
# Create a writable GOROOT in order to avoid sandbox violations.
GOROOT="${WORKDIR}/goroot"
@@ -31,51 +39,7 @@ src_compile() {
src_test() {
GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
- go test -run "^(Example(WithTimeout|Parse)|"$(
- echo -n '|Test(Background|TODO|WithCancel|ParentFinishesChild|'
- echo -n 'ChildFinishesFirst|Deadline|Timeout|CanceledTimeout|'
- echo -n 'Values|Allocs|SimultaneousCancels|InterlockedCancels|'
- echo -n 'LayersCancel|LayersTimeout|CancelRemoves|EntityLength|'
- echo -n 'Unescape|UnescapeEscape|Parser|NodeConsistency|Renderer|'
- echo -n 'Tokenizer|MaxBuffer|MaxBufferReconstruction|Passthrough|'
- echo -n 'BufAPI|ConvertNewlines|ReaderEdgeCases|Known|Hits|Misses|'
- echo -n 'ForeignObject|Decode|Encode|Names|Sniff|Reader|FromMeta|'
- echo -n 'XML|MarshalAndParseExtension|ParseIPv4Header|'
- echo -n 'MarshalAndParseMessageForIPv4|MarshalAndParseMessageForIPv6|'
- echo -n 'MarshalAndParseMultipartMessageForIPv4|'
- echo -n 'MarshalAndParseMultipartMessageForIPv6|IDNA|Punycode|'
- echo -n 'PunycodeErrors|MarshalHeader|ParseHeader|ICMPString|'
- echo -n 'ICMPFilter|UDPSinglePacketConnWithMultipleGroupListeners|'
- echo -n 'UDPMultiplePacketConnWithMultipleGroupListeners|'
- echo -n 'UDPPerInterfaceSinglePacketConnWithSingleGroupListener|'
- echo -n 'PacketConnConcurrentReadWriteUnicastUDP|'
- echo -n 'PacketConnReadWriteUnicastUDP|ConnUnicastSocketOptions|'
- echo -n 'PacketConnUnicastSocketOptions|ParseHeader|ICMPString|'
- echo -n 'ICMPFilter|UDPSinglePacketConnWithMultipleGroupListeners|'
- echo -n 'UDPMultiplePacketConnWithMultipleGroupListeners|'
- echo -n 'UDPPerInterfaceSinglePacketConnWithSingleGroupListener|'
- echo -n 'PacketConnConcurrentReadWriteUnicastUDP|ConnInitiatorPathMTU|'
- echo -n 'ConnResponderPathMTU|PacketConnReadWriteUnicastUDP|'
- echo -n 'ConnUnicastSocketOptions|PacketConnUnicastSocketOptions|'
- echo -n 'LimitListener|LimitListenerError|PerHost|FromURL|SOCKS5|'
- echo -n 'NodeLabel|Find|ICANN|PublicSuffix|SlowPublicSuffix|'
- echo -n 'EffectiveTLDPlusOne|SlashClean|DirResolve|Walk|Dir|MemFS|'
- echo -n 'MemFSRoot|MemFileReaddir|MemFile|MemFileWriteAllocs|WalkFS|'
- echo -n 'ParseIfHeader|WalkToRoot|MemLSCanCreate|MemLSLookup|'
- echo -n 'MemLSConfirm|MemLSNonCanonicalRoot|MemLSExpiry|MemLS|'
- echo -n 'ParseTimeout|MemPS|ReadLockInfo|ReadPropfind|'
- echo -n 'SecWebSocketAccept|HybiClientHandshake|'
- echo -n 'HybiClientHandshakeWithHeader|HybiServerHandshake|'
- echo -n 'HybiServerHandshakeNoSubProtocol|'
- echo -n 'HybiServerHandshakeHybiBadVersion|HybiShortTextFrame|'
- echo -n 'HybiShortMaskedTextFrame|HybiShortBinaryFrame|'
- echo -n 'HybiControlFrame|HybiLongFrame|HybiClientRead|'
- echo -n 'HybiShortRead|HybiServerRead|HybiServerReadWithoutMasking|'
- echo -n 'HybiClientReadWithMasking|HybiServerFirefoxHandshake|Echo|'
- echo -n 'Addr|Count|WithQuery|WithProtocol|WithTwoProtocol|'
- echo -n 'WithBadProtocol|HTTP|TrailingSpaces|DialConfigBadVersion|'
- echo -n 'SmallBuffer|ParseAuthority|Close))$') \
- -x -v ${GO_PN}/... || die $?
+ go test -x -v ${GO_PN}/... || die $?
}
src_install() {