forked from mirrors/nixpkgs
cffi: disable tests on aarch64-darwin
The tests were disabled on Darwin prior to 54b5495e4e
, which probably
fixed them for x86_64-darwin, but not for aarch64-darwin.
This commit is contained in:
parent
9ec14cd78d
commit
18fcfb980a
|
@ -30,7 +30,9 @@ if isPyPy then null else buildPythonPackage rec {
|
|||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang
|
||||
"-Wno-unused-command-line-argument -Wno-unreachable-code -Wno-c++11-narrowing";
|
||||
|
||||
doCheck = !stdenv.hostPlatform.isMusl;
|
||||
# Lots of tests fail on aarch64-darwin due to "Cannot allocate write+execute memory":
|
||||
# * https://cffi.readthedocs.io/en/latest/using.html#callbacks
|
||||
doCheck = !stdenv.hostPlatform.isMusl && !(stdenv.isDarwin && stdenv.isAarch64);
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue