Unverified Commit 846b85f7 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python312Packages.mobly: disable failing tests on darwin

These tests want to access pgrep, which is in /usr/bin, but the sandbox
has no permission to acccess it.
parent 7fba2cbe
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,

@@ -47,6 +48,13 @@ buildPythonPackage rec {
    pytz
  ];

  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
    # cannot access /usr/bin/pgrep from the sandbox
    "test_stop_standing_subproc"
    "test_stop_standing_subproc_and_descendants"
    "test_stop_standing_subproc_without_pipe"
  ];

  __darwinAllowLocalNetworking = true;

  meta = with lib; {