Unverified Commit 87e0bdff authored by Yureka's avatar Yureka Committed by GitHub
Browse files

[staging-next] openssl: disable failing test on cross to musl (#451291)

parents 3c4a38a9 7500b79a
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -87,6 +87,14 @@ let
        substituteInPlace Configurations/unix-Makefile.tmpl \
          --replace 'ENGINESDIR=$(libdir)/engines-{- $sover_dirname -}' \
                    'ENGINESDIR=$(OPENSSLDIR)/engines-{- $sover_dirname -}'
      ''
      # This test will fail if the error strings between the build libc and host
      # libc mismatch, e.g. when cross-compiling from glibc to musl
      +
        lib.optionalString
          (finalAttrs.finalPackage.doCheck && stdenv.hostPlatform.libc != stdenv.buildPlatform.libc)
          ''
            rm test/recipes/02-test_errstr.t
          '';

      outputs = [