aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2016-11-29 13:25:45 +0100
committerMarius Brehler <marbre@linux.sungazer.de>2016-11-29 13:25:45 +0100
commitcfc31ee28f29e626d741d4273ce8f4f5a1f29b03 (patch)
tree99442bb0da902492041afc2577eb0f125123fdc3
parentdev-python/arrayfire-python: Version bump to 3.4.20161126 (diff)
downloadsci-cfc31ee2.tar.gz
sci-cfc31ee2.tar.bz2
sci-cfc31ee2.zip
dev-python/arrayfire-python: Add test phase
Package-Manager: portage-2.3.0
-rw-r--r--dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild b/dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild
index beae8f25c..5ca96492e 100644
--- a/dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild
+++ b/dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild
@@ -13,6 +13,7 @@ SRC_URI="https://github.com/arrayfire/arrayfire-python/archive/${PV}.tar.gz -> $
LICENSE="BSD"
SLOT="0"
+IUSE="test"
KEYWORDS="~amd64"
RDEPEND="
@@ -20,3 +21,7 @@ RDEPEND="
<sci-libs/arrayfire-3.5.0
"
DEPEND="${RDEPEND}"
+
+python_test() {
+ ${EPYTHON} -m arrayfire.tests
+}