From ba2a6004ec8a20a984d177f4f47ac3c66b083fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sun, 4 Feb 2024 22:04:06 +0100 Subject: [PATCH] testing/nix: enable check() --- testing/nix/APKBUILD | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/testing/nix/APKBUILD b/testing/nix/APKBUILD index 6a8a096e8c2..53da672dbca 100644 --- a/testing/nix/APKBUILD +++ b/testing/nix/APKBUILD @@ -40,6 +40,7 @@ makedepends=" mdbook nlohmann-json openssl-dev + rapidcheck-dev sqlite-dev xz xz-dev @@ -55,12 +56,6 @@ subpackages=" $pkgname-fish-completion $pkgname-zsh-completion " -# TODO: Tests require rapidcheck which is a poorly maintained C++ -# library without tagged releases, versioned sonames, and more. -# Hence, we really don't want to package it right now just for nix. -# -# See: https://github.com/emil-e/rapidcheck/issues/255 -options="!check" source="https://github.com/NixOS/nix/archive/$pkgver/nix-$pkgver.tar.gz 0001-absPath-Explicitly-check-if-path-is-empty-before-acc.patch README.alpine @@ -89,8 +84,7 @@ build() { --localstatedir=/nix/var \ --with-sandbox-shell=/bin/busybox.static \ --enable-embedded-sandbox-shell \ - --enable-gc \ - --disable-unit-tests + --enable-gc make }