aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-cpuinfo
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2017-06-10 19:49:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-11 17:20:08 +0000
commit8aeff6983ad12463496468fd1e93efca2c3fee4d (patch)
tree5f254f81a1b77c16c804d1e3d93b1553d1406dd4 /testing/py-cpuinfo
parentedda377c6b05ebe999fa205c4c57a11a54e0c4b9 (diff)
downloadaports-8aeff6983ad12463496468fd1e93efca2c3fee4d.tar.bz2
aports-8aeff6983ad12463496468fd1e93efca2c3fee4d.tar.xz
testing/py-cpuinfo: enable tests
Diffstat (limited to 'testing/py-cpuinfo')
-rw-r--r--testing/py-cpuinfo/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/testing/py-cpuinfo/APKBUILD b/testing/py-cpuinfo/APKBUILD
index 265b6984b7..d06bbe40d3 100644
--- a/testing/py-cpuinfo/APKBUILD
+++ b/testing/py-cpuinfo/APKBUILD
@@ -15,8 +15,14 @@ builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
- python2 setup.py build || return 1
- python3 setup.py build || return 1
+ python2 setup.py build
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python2 setup.py test
+ python3 setup.py test
}
package() {