kvazaar: disable failing test on darwin (#462160)

This commit is contained in:
Jo
2025-11-17 10:08:50 +00:00
committed by GitHub
+2 -3
View File
@@ -21,10 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-Th30XO3m4GVeDvdb/RIwKT6+To9C/YU7y8s8hm7vPi0=";
};
# https://github.com/ultravideo/kvazaar/pull/426
postPatch = ''
substituteInPlace CMakeLists.txt --replace-fail 'NOT LINUX' 'NOT LINUX AND NOT BSD'
substituteInPlace tests/util.sh --replace-fail '../libtool' '${lib.getExe libtool}'
substituteInPlace tests/util.sh --replace-fail 'TAppDecoderStatic' '${lib.getExe' hm "TAppDecoder"}'
@@ -46,6 +43,8 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
env.XFAIL_TESTS = lib.optionalString stdenv.hostPlatform.isDarwin "test_slices.sh";
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;