diff options
author | Mike Gilbert <floppym@gentoo.org> | 2012-05-04 21:15:35 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2012-05-04 21:15:35 +0000 |
commit | e1327245240954060414c7c562258c7e021703af (patch) | |
tree | fe488dd9aad6b78e57e4ca57ae4c67eecbed16d2 /dev-python/egenix-mx-base | |
parent | Upload file to mirror system, fix Manifest (diff) | |
download | gentoo-2-e1327245240954060414c7c562258c7e021703af.tar.gz gentoo-2-e1327245240954060414c7c562258c7e021703af.tar.bz2 gentoo-2-e1327245240954060414c7c562258c7e021703af.zip |
Fix test logic.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/egenix-mx-base')
-rw-r--r-- | dev-python/egenix-mx-base/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/egenix-mx-base/egenix-mx-base-3.2.4.ebuild | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-python/egenix-mx-base/ChangeLog b/dev-python/egenix-mx-base/ChangeLog index 48bfe65d6a33..4789e3f719a3 100644 --- a/dev-python/egenix-mx-base/ChangeLog +++ b/dev-python/egenix-mx-base/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/egenix-mx-base # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/ChangeLog,v 1.71 2012/05/04 18:02:26 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/ChangeLog,v 1.72 2012/05/04 21:15:35 floppym Exp $ + + 04 May 2012; Mike Gilbert <floppym@gentoo.org> egenix-mx-base-3.2.4.ebuild: + Fix test logic. *egenix-mx-base-3.2.4 (04 May 2012) diff --git a/dev-python/egenix-mx-base/egenix-mx-base-3.2.4.ebuild b/dev-python/egenix-mx-base/egenix-mx-base-3.2.4.ebuild index 8d7efc7909f2..e98ff6582040 100644 --- a/dev-python/egenix-mx-base/egenix-mx-base-3.2.4.ebuild +++ b/dev-python/egenix-mx-base/egenix-mx-base-3.2.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/egenix-mx-base-3.2.4.ebuild,v 1.1 2012/05/04 18:02:26 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/egenix-mx-base-3.2.4.ebuild,v 1.2 2012/05/04 21:15:35 floppym Exp $ EAPI="3" PYTHON_DEPEND="2" @@ -37,10 +37,12 @@ src_compile() { src_test() { testing() { + local tst status=0 for tst in $(find "build-${PYTHON_ABI}/" -name test.py) do - PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" ${tst} + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" "${tst}" || status=1 done + return ${status} } python_execute_function testing } |