diff options
author | Matt Davis <mrd@redhat.com> | 2022-06-29 14:14:10 -0700 |
---|---|---|
committer | Matt Davis <mrd@redhat.com> | 2022-06-29 14:14:10 -0700 |
commit | eaa9538f4130d7953297e1926ec4c08bd6c8d9f0 (patch) | |
tree | 1cb58cb08e8ecf0dfcb8f59ff8ac63a6df6f7c8d /testing/support.py | |
parent | ddd56a92609eacd598cde41e4244b08722f01730 (diff) | |
download | cffi-eaa9538f4130d7953297e1926ec4c08bd6c8d9f0.tar.gz |
musllinux test updates and wheels, py3.11 beta wheels
Diffstat (limited to 'testing/support.py')
-rw-r--r-- | testing/support.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/support.py b/testing/support.py index 6339a94..a65375e 100644 --- a/testing/support.py +++ b/testing/support.py @@ -117,3 +117,12 @@ else: extra_compile_args = ['-Werror', '-Wall', '-Wextra', '-Wconversion', '-Wno-unused-parameter', '-Wno-unreachable-code'] + +is_musl = False +if sys.platform == 'linux': + try: + from packaging.tags import platform_tags + is_musl = any(t.startswith('musllinux') for t in platform_tags()) + del platform_tags + except ImportError: + pass |