mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 07:03:36 -04:00
tests: Also skip Cg unit tests on arm64 reporting as aarch64
[skip ci]
This commit is contained in:
parent
0121e74aa4
commit
edf4b7d448
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user