aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-cpuinfo/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-cpuinfo/APKBUILD')
-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() {