Commit 7bca6ea9 authored by Yueh-Shun Li's avatar Yueh-Shun Li
Browse files

unblob: use disabledTests

disabledTests no longer Bash-expand as array elements
and thus no longer swallow parameters between square brackets.
parent 08572b9a
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
@@ -123,18 +123,14 @@ python3.pkgs.buildPythonApplication rec {

  versionCheckProgramArg = "--version";

  pytestFlagsArray =
    let
      # `disabledTests` swallows the parameters between square brackets
      disabled = [
  pytestFlags = [
    "--no-cov"
  ];

  disabledTests = [
    # https://github.com/tytso/e2fsprogs/issues/152
    "test_all_handlers[filesystem.extfs]"
  ];
    in
    [
      "--no-cov"
      "-k 'not ${lib.concatStringsSep " and not " disabled}'"
    ];

  passthru = {
    updateScript = gitUpdater { };