Commit bd42e2a3 authored by Henrik Riomar's avatar Henrik Riomar
Browse files

testing/numactl: add check()

Only run checks that does not require a physical node with numa
topology.
parent 286ff308
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=numactl
pkgver=2.0.12
pkgrel=0
pkgrel=1
pkgdesc="Simple NUMA policy support"
url="https://github.com/numactl/numactl"
# ARM lacks the __NR_migrate_pages syscall
......@@ -9,7 +9,6 @@ arch="all !armhf !armv7"
license="GPL-2.0 LGPL-2.0"
makedepends="autoconf automake libtool linux-headers"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/numactl/$pkgname/archive/v$pkgver.tar.gz
musl.patch"
builddir="$srcdir/$pkgname-$pkgver"
......@@ -21,6 +20,11 @@ prepare() {
./autogen.sh
}
check() {
cd "$builddir"
make check VERBOSE=1 TESTS='test/distance test/nodemap test/tbitmap'
}
build() {
cd "$builddir"
./configure \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment