gdu: fix test skipping (#453267)

This commit is contained in:
zowoq
2025-10-19 05:21:19 +00:00
committed by GitHub
+8 -5
View File
@@ -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;