From edf4b7d448627a311f69418c4ead8a9acb432c43 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 22 Oct 2023 12:23:53 +0200 Subject: [PATCH] tests: Also skip Cg unit tests on arm64 reporting as aarch64 [skip ci] --- tests/display/test_cg_shader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/display/test_cg_shader.py b/tests/display/test_cg_shader.py index 2597b39971..d118f08637 100644 --- a/tests/display/test_cg_shader.py +++ b/tests/display/test_cg_shader.py @@ -18,14 +18,14 @@ def run_cg_compile_check(gsg, shader_path, expect_fail=False): assert shader is not None -@pytest.mark.skipif(platform.machine().lower() == 'arm64', reason="Cg not supported on arm64") +@pytest.mark.skipif(platform.machine().lower() in ('arm64', 'aarch64'), reason="Cg not supported on arm64") def test_cg_compile_error(gsg): """Test getting compile errors from bad Cg shaders""" shader_path = core.Filename(SHADERS_DIR, 'cg_bad.sha') run_cg_compile_check(gsg, shader_path, expect_fail=True) -@pytest.mark.skipif(platform.machine().lower() == 'arm64', reason="Cg not supported on arm64") +@pytest.mark.skipif(platform.machine().lower() in ('arm64', 'aarch64'), reason="Cg not supported on arm64") def test_cg_from_file(gsg): """Test compiling Cg shaders from files""" shader_path = core.Filename(SHADERS_DIR, 'cg_simple.sha')