diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-05-21 06:16:52 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-05-21 06:16:52 +0000 |
commit | 20cc42244e72e72842680c9cdac03b6d7e25b351 (patch) | |
tree | 02c3f6ea825d8719e6bea909f4c6a84db9ff9f4e /dev-go | |
parent | Version bump. (diff) | |
download | historical-20cc42244e72e72842680c9cdac03b6d7e25b351.tar.gz historical-20cc42244e72e72842680c9cdac03b6d7e25b351.tar.bz2 historical-20cc42244e72e72842680c9cdac03b6d7e25b351.zip |
Add src_test.
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/ChangeLog | 5 | ||||
-rw-r--r-- | dev-go/go-net/Manifest | 10 | ||||
-rw-r--r-- | dev-go/go-net/go-net-9999.ebuild | 51 |
3 files changed, 59 insertions, 7 deletions
diff --git a/dev-go/go-net/ChangeLog b/dev-go/go-net/ChangeLog index 2e748cc9143e..f878d21928ef 100644 --- a/dev-go/go-net/ChangeLog +++ b/dev-go/go-net/ChangeLog @@ -1,6 +1,9 @@ # 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.1 2015/05/18 07:53:59 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v 1.2 2015/05/21 06:16:46 zmedico Exp $ + + 21 May 2015; Zac Medico <zmedico@gentoo.org> go-net-9999.ebuild: + Add src_test. *go-net-9999 (18 May 2015) diff --git a/dev-go/go-net/Manifest b/dev-go/go-net/Manifest index 286eb7cbc3f6..b5bca02de98e 100644 --- a/dev-go/go-net/Manifest +++ b/dev-go/go-net/Manifest @@ -1,13 +1,13 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -EBUILD go-net-9999.ebuild 1051 SHA256 8492312b5d0dd7ce3cabb71e02e6b151544ab2dfa75ff9b956c23b7a0eb3d268 SHA512 77787ed98f74efdd91e6a893f4fab4c49281bd43eee9520f2a96c23f842e6fb13268a17f57a7e4ec2bb384f7d254d6d65158fa08d9b0e70d4df1d14d1a19552a WHIRLPOOL 00c3a2eff77709f34b16acd3cc91d6bccd379ab26f15292186bfeb12e2b33fc5babbf9df722399c10769f8c0bf436e0981d86d6278a70176eeeb531e2144ea76 -MISC ChangeLog 327 SHA256 b0f38bef36826b9d1cdb33083f63895595f53b581e5aa1536dc0a52288e1fad8 SHA512 f04add3adc2e52cb804000e1024a3741e293d66b57e89ec14b4b9b2b284466b1051e51d6e3ca1c247143509021cfa72268d41ee7eeab9bf10b2cafaaafe2f9a3 WHIRLPOOL 098ec8f7fe53d4a2abbcab1e7865584e79e7caede5f8c9469a4ec2cdb5ef9946d5061b1e9f0c47363855870c9e6e73c786d3e2cdd49ce131a5761e33150b7898 +EBUILD go-net-9999.ebuild 3970 SHA256 c623aa4f73a404e810ef8f69e8d52f3a945ea5f71653f22b1bbf3c77e02311bd SHA512 0a9d04f352876bb732f9a45ba930938630134e428300d5e49a4bf06d1d29d28c36766221419ce26a67c44b017eeae56c580114037c5eb748df957579800ef1ff WHIRLPOOL 79b515312ea30f828b51fd369c40da97e5817c1838c28f9204899d3c572c4166c1b219548b65f05354371ce5ed54c7dbf9a5fcf3f6ca9cc9ff4635e9a5dc7b47 +MISC ChangeLog 411 SHA256 011fdbd80bc19b9ae7cbbb5ff6f4b581f91f480b8801f2e95e5316e59e24f239 SHA512 f8b249b69f8a75462a38a5db3826fcbcd6af88b5c53669501dc9e2e996ffebd144d778a295e5542b91fd2783a8a35fbd2582a4d419dbef59bd2c0ec76787fbcf WHIRLPOOL fd56380137b03fc4aea51ae7e5623c74c3369956554e25c587a49475dfbbaab9b178bdaf7d8296262c18350f5ef19b55527893ea6c274e6034d355e86261ee1c MISC metadata.xml 208 SHA256 67f4cd233dc8d6d341b8da89aef2654cae64f7e3b62fbcdd3a35e6e30e898e36 SHA512 5213f6c100db04c6bbbf73b4e52042caf1744aa805af76053f5ecaf5f921ffdd35c41507b492da65c6071f1699472db6c9334dcd5bb7da752dca8efe7e1c7aa4 WHIRLPOOL a43dc0ecd7f37ba8cf4d510a1195338816b6193e5c5517c8e005662a06d7fb62c725a3c2981474a872cba628c268de1bea0fb67a31ae1842a252c0fdc723eb4d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlVZmpgACgkQ/ejvha5XGaP/AgCg4F7A92k7mnfR9qTugUiqBg2C -OWIAn37Www8m/tc7jCCEPSP8qYxgK6nd -=eOpz +iEYEAREIAAYFAlVdeE8ACgkQ/ejvha5XGaPd0QCgt2xXuyWPem9gD89yQAkkFL7a +xgYAn0iAEE46dzuj4Nw/dXFB6H0x0BR5 +=vzoA -----END PGP SIGNATURE----- diff --git a/dev-go/go-net/go-net-9999.ebuild b/dev-go/go-net/go-net-9999.ebuild index dc2c167e58a9..4f9c60eecd30 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.1 2015/05/18 07:53:59 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-9999.ebuild,v 1.2 2015/05/21 06:16:46 zmedico Exp $ EAPI=5 inherit git-r3 @@ -29,6 +29,55 @@ src_compile() { GOROOT="${GOROOT}" GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die } +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 $? +} + src_install() { insinto /usr/lib/go find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null |