Skip to content

Fix test_compiler_detection relation to missing/broken compilers #14661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dcbaker
Copy link
Member

@dcbaker dcbaker commented May 29, 2025

No description provided.

@yselkowitz
Copy link

I can confirm that this patch on top of 1.8.1 fixes the test in question on ELN (the future RHEL 11), where gcc is the default compiler and ObjC is disabled.

dcbaker added 3 commits May 29, 2025 10:03
Which is a very large and complicated test function
simplify some logic, add a few asserts to get better error messages
This wraps all of the compiler detections in this test case in
try/except blocks. These blocks will return a skipTest for Python >=
3.11 (where subTest and skipTest interact correctly), and continue if
they do not. For Meson CI runs they will fail the specific subtest,
which is also an improvement as it can help pinpoint exactly which
subtest failed.

Fixes: mesonbuild#14579
@dcbaker dcbaker force-pushed the submit/fix-objc-detection branch from da7db7a to a07c18c Compare May 29, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants