1
0
Fork 1
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:
Vladimír Čunát 2021-12-26 09:41:27 +01:00
commit fd0df9f56f
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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 ];