testing/elektra: enable check, but allow it to fail for now

This commit is contained in:
Jakub Jirutka 2018-02-07 18:57:02 +01:00
parent 63df36ac4a
commit 54c0419135

View File

@ -2,10 +2,11 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz> # Maintainer: Jakub Jirutka <jakub@jirutka.cz>
# TODO: Add rest of the tools. # TODO: Add rest of the tools.
# TODO: Fix some scripts/tools to not require bash. # TODO: Fix some scripts/tools to not require bash.
# TODO: Use system-provided gtest library for testing.
pkgname=elektra pkgname=elektra
_pkgname=libelektra _pkgname=libelektra
pkgver=0.8.21 pkgver=0.8.21
pkgrel=0 pkgrel=1
pkgdesc="A universal and secure framework to access configuration parameters" pkgdesc="A universal and secure framework to access configuration parameters"
url="https://www.libelektra.org" url="https://www.libelektra.org"
arch="all" arch="all"
@ -16,7 +17,7 @@ depends="$pkgname-dump=$pkgver-r$pkgrel
$pkgname-list=$pkgver-r$pkgrel $pkgname-list=$pkgver-r$pkgrel
$pkgname-spec=$pkgver-r$pkgrel $pkgname-spec=$pkgver-r$pkgrel
$pkgname-sync=$pkgver-r$pkgrel" $pkgname-sync=$pkgver-r$pkgrel"
checkdepends="bash gtest" checkdepends="bash gnupg ruby-test-unit"
makedepends=" makedepends="
augeas-dev augeas-dev
boost-dev boost-dev
@ -62,7 +63,6 @@ source="$_pkgname-$pkgver.tar.gz::https://github.com/ElektraInitiative/$_pkgname
remove-unneeded-assembly.patch remove-unneeded-assembly.patch
" "
builddir="$srcdir/$_pkgname-$pkgver" builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # FIXME!
# All plugins except: # All plugins except:
# * status:obsolete # * status:obsolete
@ -197,7 +197,10 @@ build() {
check() { check() {
cd "$builddir"/build 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() { package() {