Unverified Commit 5ec2b2f1 authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

Merge: php8{1..3}Extensions.soap: fix tests (#345893)

parents e49fff9a a06b0e26
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@ in {
      checkPhase = ''
        runHook preCheck

        NO_INTERACTION=yes SKIP_PERF_SENSITIVE=yes make test
        NO_INTERACTION=yes SKIP_PERF_SENSITIVE=yes SKIP_ONLINE_TESTS=yes make test
        runHook postCheck
      '';

@@ -656,7 +656,10 @@ in {
          configureFlags = [
            "--enable-soap"
          ];
          doCheck = stdenv.hostPlatform.isDarwin;  # TODO: a couple tests still fail on *-linux
          # Some tests are causing issues in the Darwin sandbox with issues
          # such as
          #   Unknown: php_network_getaddresses: getaddrinfo for localhost failed: nodename nor servname provided
          doCheck = !stdenv.hostPlatform.isDarwin;
          internalDeps = [ php.extensions.session ];
          patches = lib.optionals (lib.versions.majorMinor php.version == "8.1") [
            # Fix tests with libxml2 2.12