aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/vault/APKBUILD11
1 files changed, 10 insertions, 1 deletions
diff --git a/testing/vault/APKBUILD b/testing/vault/APKBUILD
index 8a28b3cd93..1932931a49 100644
--- a/testing/vault/APKBUILD
+++ b/testing/vault/APKBUILD
@@ -12,7 +12,6 @@ install="$pkgname.pre-install"
pkgusers="vault"
pkggroups="vault"
subpackages="$pkgname-openrc"
-options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/$pkgname/archive/v$pkgver.tar.gz
bindata-filename.patch
vault.confd
@@ -35,6 +34,16 @@ build() {
--tags ui
}
+check() {
+ # Manually specify tests because full test suite runs all kinds of
+ # integration tests with other systems and fail.
+ for module in api audit command http logical shamir vault
+ do
+ GOPATH=$HOME/aports/community/vault/src CGO_ENABLED=0 make \
+ test TEST=./$module
+ done
+}
+
package() {
cd "$builddir"