summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2024-10-02 19:24:37 +0200
committerGitHub <noreply@github.com>2024-10-02 19:24:37 +0200
commit5ec2b2f14dba2caac62a1fad189e920041ed0b5c (patch)
tree8fbc2d029af7f4c2c994e28da01f7498909bb14a
parentremind: 05.00.02 -> 05.00.06 (#345798) (diff)
parentphp8{1..3}Extensions.soap: fix tests (diff)
downloadnixpkgs-5ec2b2f14dba2caac62a1fad189e920041ed0b5c.tar.gz
Merge: php8{1..3}Extensions.soap: fix tests (#345893)
-rw-r--r--pkgs/top-level/php-packages.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix
index 898ba5b43fc5..0e4fc0b6ecae 100644
--- a/pkgs/top-level/php-packages.nix
+++ b/pkgs/top-level/php-packages.nix
@@ -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