edencommon: skip flaky test on darwin

This commit is contained in:
techknowlogick
2024-12-30 15:08:18 -05:00
parent 6d96c9a21e
commit 52917938b0
+18
View File
@@ -75,6 +75,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