Unverified Commit b7ecb71b authored by zowoq's avatar zowoq Committed by GitHub
Browse files

gdu: fix test skipping (#453267)

parents 7b1b81b8 38e68c42
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -42,11 +42,14 @@ buildGoModule (finalAttrs: {

  doCheck = !stdenv.hostPlatform.isDarwin;

  checkFlags = [
    # https://github.com/dundee/gdu/issues/371
    "-skip=TestStoredAnalyzer"
    "-skip=TestAnalyzePathWithIgnoring"
  checkFlags =
    let
      skippedTests = [
        "TestStoredAnalyzer" # https://github.com/dundee/gdu/issues/371
        "TestAnalyzePathWithIgnoring"
      ];
    in
    [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];

  doInstallCheck = true;