Merge #132501: knot-dns: disable tests broken on aarch64-darwin

This commit is contained in:
Vladimír Čunát 2021-08-03 09:17:53 +02:00
commit ebcb3fce2b
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -29,6 +29,12 @@ stdenv.mkDerivation rec {
./runtime-deps.patch
];
# Disable knotd journal tests on platforms that don't use 4k sysconf(_SC_PAGESIZE).
# The journal most likely works fine, but some of the tests currently don't.
postPatch = lib.optionalString (doCheck && stdenv.isDarwin && stdenv.isAarch64) ''
sed '/^\tknot\/test_journal\>/d' -i tests/Makefile.am
'';
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [
gnutls liburcu libidn2 libunistring