diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-17 17:40:35 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-17 17:54:21 +0100 |
commit | 09af939b5d191189764a0f15dc491434613bfe4c (patch) | |
tree | 0235773305ff42817de3c91030625fdec1d35186 /main/ldb/APKBUILD | |
parent | fc98e032106714f3f528eb43bd928b76883bb05d (diff) | |
download | aports-09af939b5d191189764a0f15dc491434613bfe4c.zip |
main/ldb: run tests
Diffstat (limited to 'main/ldb/APKBUILD')
-rw-r--r-- | main/ldb/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/ldb/APKBUILD b/main/ldb/APKBUILD index 6829f9b995d..ab030d604e7 100644 --- a/main/ldb/APKBUILD +++ b/main/ldb/APKBUILD @@ -10,7 +10,8 @@ makedepends="libtirpc-dev tevent-dev py2-tevent tdb-dev py-tdb talloc-dev python2-dev python3-dev popt-dev cmocka-dev" subpackages="$pkgname-dev py2-$pkgname:_py2 py3-$pkgname:_py3 $pkgname-tools" source="https://www.samba.org/ftp/pub/ldb/$pkgname-$pkgver.tar.gz - fix-memory-leak-on-module-context.patch" + fix-memory-leak-on-module-context.patch + disable-python-tests.patch" builddir="$srcdir/$pkgname-$pkgver" build() { @@ -31,6 +32,11 @@ build() { make } +check() { + cd "$builddir" + make check +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install @@ -62,4 +68,5 @@ tools() { } sha512sums="31b29a2a991038910830cb47b02b7f08e1958638d073d5f1602a2657c4005c7e5f5f2c2f7972eeddef462d8c70aaad7f02ddf901cb50f1b1bbafa0c22498973d ldb-1.3.2.tar.gz -7524e23ff8fe378fc4e24ac9e93bfa27012a2a646c5411d419d0181ffd4192fdbb0c3b28f4e2a2e43cf93a1340eeaf526699ac16d846b616612d922abd2595aa fix-memory-leak-on-module-context.patch" +7524e23ff8fe378fc4e24ac9e93bfa27012a2a646c5411d419d0181ffd4192fdbb0c3b28f4e2a2e43cf93a1340eeaf526699ac16d846b616612d922abd2595aa fix-memory-leak-on-module-context.patch +49b68f36caebbad8d36682f4a342644bc9df6ebb39c625a6aec6d197d63e52bff137c1b9c188a0c7e8365fdc0ac936f56e761cf8677034a7a70fd5717a130bbb disable-python-tests.patch" |