Skip cross-compile test on macOS <11

This commit is contained in:
Joe Rickerby
2021-01-05 17:01:23 +00:00
parent 65b530a5df
commit 121715a568
+2
View File
@@ -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)