llfuse: disable tests on Darwin (#117695)

Fixes #117665. The tests require macFUSE[1], an external dependency to
be installed.

[1]: https://osxfuse.github.io/
This commit is contained in:
midchildan 2021-03-27 03:18:29 +09:00 committed by GitHub
parent 86ab658c57
commit 24ec2cd1ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,12 +35,12 @@ buildPythonPackage rec {
${python.interpreter} setup.py build_cython
'';
# On Darwin, the test requires macFUSE to be installed outside of Nix.
doCheck = !stdenv.isDarwin;
checkInputs = [ pytestCheckHook which ];
disabledTests = [
"test_listdir" # accesses /usr/bin
] ++ lib.optionals stdenv.isDarwin [
"uses_fuse"
];
meta = with lib; {