diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-11-01 20:35:22 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-11-01 20:35:22 +0000 |
commit | f71b922ede9118fc898f83de7332d8a050b0576e (patch) | |
tree | d70cc229b4d3a033b5a2bffd73ca27c2460f474a /dev-python/ply | |
parent | Version bump. (diff) | |
download | historical-f71b922ede9118fc898f83de7332d8a050b0576e.tar.gz historical-f71b922ede9118fc898f83de7332d8a050b0576e.tar.bz2 historical-f71b922ede9118fc898f83de7332d8a050b0576e.zip |
Improve src_test().
Package-Manager: portage-2.2.0_alpha3/cvs/Linux x86_64
Diffstat (limited to 'dev-python/ply')
-rw-r--r-- | dev-python/ply/Manifest | 2 | ||||
-rw-r--r-- | dev-python/ply/ply-3.3.ebuild | 17 |
2 files changed, 14 insertions, 5 deletions
diff --git a/dev-python/ply/Manifest b/dev-python/ply/Manifest index da59cb22ea98..d5a0e380e24a 100644 --- a/dev-python/ply/Manifest +++ b/dev-python/ply/Manifest @@ -1,4 +1,4 @@ DIST ply-3.3.tar.gz 138663 RMD160 619fad2b4050d6125cab9c34ea794bda7a0c5aa3 SHA1 23291d8127f9f7189957fe1ff8925494e389fca3 SHA256 052f3ba1838e8dfaa7d0b4f2f3957911423f0992c4c240ccfd7ec0c7dd84330b -EBUILD ply-3.3.ebuild 977 RMD160 a036d11be45b4cc160e912811c9478e622159d41 SHA1 fffcd60279a4abb16599109c6d67baf224f43ee7 SHA256 83e49bc8548f90f308772466872011859e022e637f7b959b7d0c3c9898bb5326 +EBUILD ply-3.3.ebuild 1210 RMD160 14b6fbd842a15d617747237639b10afc4765deb3 SHA1 ceceb9522aa2f5962b3a0ab2edba02cbaf9bbdb3 SHA256 8eca75c319abe66bb282c926798f4abe55526a574bf7693b80e8bd6b1a999043 MISC ChangeLog 1975 RMD160 8644e570a9e7978d29300ddc686705ec8124692a SHA1 1db528c05b01859bfb3e8dd6f2f25b2eb6f9e23b SHA256 cf7e2aea01066495f732b7e2e37f1c5d70721ae77f4022594a75670c4839fa4d MISC metadata.xml 1268 RMD160 6dae5e17fe921dd670f936c3016aedc77bbf9227 SHA1 b3a5f856ce4c014dd86cc772c7bd67c7d64c55a3 SHA256 552871264db95b1396b369f4b152d1d467c6885804462efb9e53bd0a8a7426a2 diff --git a/dev-python/ply/ply-3.3.ebuild b/dev-python/ply/ply-3.3.ebuild index 0f2873a9be11..4f1e9a1dc48a 100644 --- a/dev-python/ply/ply-3.3.ebuild +++ b/dev-python/ply/ply-3.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ply-3.3.ebuild,v 1.3 2010/08/16 16:37:11 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ply-3.3.ebuild,v 1.4 2010/11/01 20:35:22 arfrever Exp $ EAPI="3" SUPPORT_PYTHON_ABIS="1" @@ -29,8 +29,17 @@ src_test() { cd test testing() { - "$(PYTHON)" testlex.py || return 1 - "$(PYTHON)" testyacc.py || return 1 + local exit_status="0" test + + for test in testlex.py testyacc.py; do + einfo "Running ${test}..." + if ! "$(PYTHON)" testlex.py; then + ewarn "${test} failed with $(python_get_implementation) $(python_get_version)" + exit_status="1" + fi + done + + return "${exit_status}" } python_execute_function testing @@ -44,6 +53,6 @@ src_install() { if use examples; then insinto /usr/share/doc/${PF} - doins -r example + doins -r example || die "doins failed" fi } |