diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-09-13 08:54:24 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-09-13 14:30:42 +0200 |
commit | 931b1bb4e9e92af1752c6519ef4aa5e8b9790f4f (patch) | |
tree | 32a3ca46e127fe86648536fe0305033c0c817b19 /dev-ros/genpy/genpy-9999.ebuild | |
parent | dev-ros/genpy: remove old (diff) | |
download | gentoo-931b1bb4e9e92af1752c6519ef4aa5e8b9790f4f.tar.gz gentoo-931b1bb4e9e92af1752c6519ef4aa5e8b9790f4f.tar.bz2 gentoo-931b1bb4e9e92af1752c6519ef4aa5e8b9790f4f.zip |
dev-ros/genpy: bump to 0.6.2; improve testing
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ros/genpy/genpy-9999.ebuild')
-rw-r--r-- | dev-ros/genpy/genpy-9999.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-ros/genpy/genpy-9999.ebuild b/dev-ros/genpy/genpy-9999.ebuild index e18cd2aa843c..73461c06fef6 100644 --- a/dev-ros/genpy/genpy-9999.ebuild +++ b/dev-ros/genpy/genpy-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -23,3 +23,12 @@ DEPEND="${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] ) " + +python_test() { + cd "${BUILD_DIR}" + PYTHONPATH="${S}/src" nosetests --verbose -w "${S}/test" || die +} + +src_test() { + python_foreach_impl python_test +} |