Merge pull request #120496 from midchildan/fix/cryfs/darwin-binary-cache
cryfs: disable tests on Darwin
This commit is contained in:
commit
1341bcf1f8
@ -62,7 +62,8 @@ stdenv.mkDerivation rec {
|
|||||||
"-DBUILD_TESTING:BOOL=${if doCheck then "TRUE" else "FALSE"}"
|
"-DBUILD_TESTING:BOOL=${if doCheck then "TRUE" else "FALSE"}"
|
||||||
] ++ lib.optional doCheck "-DCMAKE_PREFIX_PATH=${gtest.dev}/lib/cmake";
|
] ++ lib.optional doCheck "-DCMAKE_PREFIX_PATH=${gtest.dev}/lib/cmake";
|
||||||
|
|
||||||
doCheck = true;
|
# macFUSE needs to be installed for the test to succeed on Darwin
|
||||||
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
# Skip CMakeFiles directory and tests depending on fuse (does not work well with sandboxing)
|
# Skip CMakeFiles directory and tests depending on fuse (does not work well with sandboxing)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user