edencommon: skip flaky test on darwin (#369477)

This commit is contained in:
Emily
2025-01-08 00:13:12 +00:00
committed by GitHub
+18
View File
@@ -72,6 +72,24 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
checkPhase = ''
runHook preCheck
# Skip flaky test on darwin
ctest -j $NIX_BUILD_CORES --output-on-failure ${
lib.optionalString stdenv.hostPlatform.isDarwin (
lib.escapeShellArgs [
"--exclude-regex"
(lib.concatMapStringsSep "|" (test: "^${lib.escapeRegex test}$") [
"ProcessInfoCache.addFromMultipleThreads"
])
]
)
}
runHook postCheck
'';
postPatch = ''
# The CMake build requires the FBThrift Python support even though
# its not used, presumably because of the relevant code having