aboutsummaryrefslogtreecommitdiffstats
path: root/testing/elektra
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-02-07 18:57:02 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-02-07 18:59:11 +0100
commit54c0419135df3059138b33490c0c11081aa41b7e (patch)
tree5b122acafb957e2132888225b8cdcafdc54683fa /testing/elektra
parent63df36ac4a53547e31eddc2d8066bc276d7881a4 (diff)
downloadaports-54c0419135df3059138b33490c0c11081aa41b7e.tar.bz2
aports-54c0419135df3059138b33490c0c11081aa41b7e.tar.xz
testing/elektra: enable check, but allow it to fail for now
Diffstat (limited to 'testing/elektra')
-rw-r--r--testing/elektra/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/testing/elektra/APKBUILD b/testing/elektra/APKBUILD
index a489fc5dc4..ba978967a8 100644
--- a/testing/elektra/APKBUILD
+++ b/testing/elektra/APKBUILD
@@ -2,10 +2,11 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
# TODO: Add rest of the tools.
# TODO: Fix some scripts/tools to not require bash.
+# TODO: Use system-provided gtest library for testing.
pkgname=elektra
_pkgname=libelektra
pkgver=0.8.21
-pkgrel=0
+pkgrel=1
pkgdesc="A universal and secure framework to access configuration parameters"
url="https://www.libelektra.org"
arch="all"
@@ -16,7 +17,7 @@ depends="$pkgname-dump=$pkgver-r$pkgrel
$pkgname-list=$pkgver-r$pkgrel
$pkgname-spec=$pkgver-r$pkgrel
$pkgname-sync=$pkgver-r$pkgrel"
-checkdepends="bash gtest"
+checkdepends="bash gnupg ruby-test-unit"
makedepends="
augeas-dev
boost-dev
@@ -62,7 +63,6 @@ source="$_pkgname-$pkgver.tar.gz::https://github.com/ElektraInitiative/$_pkgname
remove-unneeded-assembly.patch
"
builddir="$srcdir/$_pkgname-$pkgver"
-options="!check" # FIXME!
# All plugins except:
# * status:obsolete
@@ -197,7 +197,10 @@ build() {
check() {
cd "$builddir"/build
- make run_all
+
+ # Run tests that doesn't need to write into /etc.
+ # FIXME: Allow tests to fail for now.
+ make run_nokdbtests || true
}
package() {