Commit fe905bbd authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

python313Packages.swh-shard: disable some tests on Darwin

parent d307b913
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
{
  stdenv,
  buildPythonPackage,
  click,
  cmake,
@@ -62,6 +63,18 @@ buildPythonPackage rec {
    rm src/swh/shard/*.py
  '';

  disabledTests = [
    "test_setup_log_handler_with_env_configuration"
  ]
  ++ lib.optionals (stdenv.hostPlatform.isDarwin) [
    # assert (51675136 - 51396608) < (100 * 1024)
    "test_memleak"
    # ValueError: Cannot convert negative int
    "test_write_above_rlimit_fsize"
    # ValueError: Cannot convert negative int
    "test_finalize_above_rlimit_fsize"
  ];

  meta = {
    changelog = "https://gitlab.softwareheritage.org/swh/devel/swh-shard/-/tags/v2.2.0";
    description = "Shard File Format for the Software Heritage Object Storage";