From 38d68285cae7efaa99e98e72e67d1b9c10012f4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 28 Aug 2017 10:39:22 +0000 Subject: main/pcre: fix make check - disable locale dependent tests - paxmark JIT requiring tests --- main/pcre/APKBUILD | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'main/pcre') diff --git a/main/pcre/APKBUILD b/main/pcre/APKBUILD index 341e4a2dba..7d9e8896d8 100644 --- a/main/pcre/APKBUILD +++ b/main/pcre/APKBUILD @@ -9,6 +9,7 @@ arch="all" license="BSD" depends= makedepends="" +checkdepends="paxmark" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools libpcrecpp libpcre16 libpcre32" source="ftp://ftp.csx.cam.ac.uk/pub/software/programming/$pkgname/$pkgname-$pkgver.tar.bz2 @@ -47,6 +48,13 @@ package() { check() { cd "$builddir" + + # paxmark tests requiring JIT + ./pcre_jit_test &>/dev/null || ./pcretest &>/dev/null < /dev/null || true + paxmark -m .libs/lt-pcre_jit_test .libs/lt-pcretest + # skip locale specific tests + sed -i -e 's/do3=yes//g' RunTest + make check } -- cgit v1.2.3