edencommon: skip flaky test on darwin (#369477)
This commit is contained in:
@@ -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
|
||||
# it’s not used, presumably because of the relevant code having
|
||||
|
||||
Reference in New Issue
Block a user