From 121715a56829cabd0fc61e933ea325f6e39b5c47 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Tue, 5 Jan 2021 17:01:23 +0000 Subject: [PATCH] Skip cross-compile test on macOS <11 --- test/test_macos_archs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_macos_archs.py b/test/test_macos_archs.py index cfcaddeb..990d08e9 100644 --- a/test/test_macos_archs.py +++ b/test/test_macos_archs.py @@ -8,6 +8,8 @@ basic_project = test_projects.new_c_project() def test_cross_compiled_build(tmp_path): if utils.platform != 'macos': pytest.skip('this test is only relevant to macos') + if utils.get_macos_version() < (11, 0): + pytest.skip('this test only works on macOS 11 or greater') project_dir = tmp_path / 'project' basic_project.generate(project_dir)