mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge #152166: cffi: disable tests on aarch64-darwin
This commit is contained in:
commit
fd0df9f56f
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,9 @@ if isPyPy then null else buildPythonPackage rec {
|
||||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang
|
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang
|
||||||
"-Wno-unused-command-line-argument -Wno-unreachable-code -Wno-c++11-narrowing";
|
"-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 ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue