aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ndctl
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-07-08 02:53:20 +0300
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-07-11 14:12:54 +0000
commitcf72cde8e601c4db329cd164c175ba47d7b44a41 (patch)
tree16cb257ed4a7068b0362ab3dfbd4a127e7a16baf /testing/ndctl
parent4e203c53f1ebd3ac759282cb0cebf16d7093b9e5 (diff)
downloadaports-cf72cde8e601c4db329cd164c175ba47d7b44a41.tar.bz2
aports-cf72cde8e601c4db329cd164c175ba47d7b44a41.tar.xz
testing/ndctl: disable tests
The unit tests run by make check require building and loading the nfit_test.ko kernel module.
Diffstat (limited to 'testing/ndctl')
-rw-r--r--testing/ndctl/APKBUILD6
1 files changed, 1 insertions, 5 deletions
diff --git a/testing/ndctl/APKBUILD b/testing/ndctl/APKBUILD
index bd42b6e72a..2d9ed2b610 100644
--- a/testing/ndctl/APKBUILD
+++ b/testing/ndctl/APKBUILD
@@ -13,6 +13,7 @@ subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/pmem/$pkgname/archive/v$pkgver.tar.gz
fix-includes.patch"
builddir="$srcdir"/$pkgname-$pkgver
+options="!check" # tests require building & loading the nfit_test.ko kernel module
prepare() {
default_prepare
@@ -32,11 +33,6 @@ build() {
make
}
-check() {
- cd "$builddir"
- make check
-}
-
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install