Unverified Commit 155fbcaf authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

kvazaar: disable failing test on darwin (#462160)

parents b44256f3 28184de8
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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;