zmedico 15/05/24 08:52:41
Modified: go-net-9999.ebuild go-net-1.4.2_p20150520.ebuild
ChangeLog
Log:
Disable broken tests.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key
FDE8EF85AE5719A3)
Revision Changes Path
1.3 dev-go/go-net/go-net-9999.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/go-net-9999.ebuild?rev=1.3&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/go-net-9999.ebuild?rev=1.3&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/go-net-9999.ebuild?r1=1.2&r2=1.3
Index: go-net-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-9999.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- go-net-9999.ebuild 21 May 2015 06:16:46 -0000 1.2
+++ go-net-9999.ebuild 24 May 2015 08:52:41 -0000 1.3
@@ -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 @@
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_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() {
1.3 dev-go/go-net/go-net-1.4.2_p20150520.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/go-net-1.4.2_p20150520.ebuild?rev=1.3&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/go-net-1.4.2_p20150520.ebuild?rev=1.3&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/go-net-1.4.2_p20150520.ebuild?r1=1.2&r2=1.3
Index: go-net-1.4.2_p20150520.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-1.4.2_p20150520.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- go-net-1.4.2_p20150520.ebuild 21 May 2015 08:25:46 -0000 1.2
+++ go-net-1.4.2_p20150520.ebuild 24 May 2015 08:52:41 -0000 1.3
@@ -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 @@
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_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() {
1.5 dev-go/go-net/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/ChangeLog?rev=1.5&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/ChangeLog?rev=1.5&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/ChangeLog?r1=1.4&r2=1.5
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog 21 May 2015 08:25:46 -0000 1.4
+++ ChangeLog 24 May 2015 08:52:41 -0000 1.5
@@ -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 <[email protected]> go-net-1.4.2_p20150520.ebuild,
+ go-net-9999.ebuild:
+ Disable broken tests.
21 May 2015; Zac Medico <[email protected]> go-net-1.4.2_p20150520.ebuild:
Remove unused git-r3 inherit.