mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
Merge #152166: cffi: disable tests on aarch64-darwin
This commit is contained in:
commit
fd0df9f56f
|
@ -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