diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-01-26 20:37:20 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-01-26 20:52:56 +0300 |
commit | 13f2df3c2806a187682ddd05d8ce44d56a42239e (patch) | |
tree | b3cc7b3a929b07096fc79d4d070410773ae8e6fa /tests/python | |
parent | 489b484b7b66a2c7be09291ff0b0793367ec06b9 (diff) |
Fix/workaround failing Cycles tests on macOS after ray offset changes
Temporarily blacklist a few tests with overlapping objects as they seem to
give different results on this platform.
Diffstat (limited to 'tests/python')
-rw-r--r-- | tests/python/cycles_render_tests.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py index 7272cd4660b..b0938c06ecf 100644 --- a/tests/python/cycles_render_tests.py +++ b/tests/python/cycles_render_tests.py @@ -11,6 +11,15 @@ from pathlib import Path # List of .blend files that are known to be failing and are not ready to be # tested, or that only make sense on some devices. Accepts regular expressions. +BLACKLIST_ALL = [ + # Blacklisted due overlapping object differences between platforms. + "hair_geom_reflection.blend", + "hair_geom_transmission.blend", + "hair_instancer_uv.blend", + "principled_hair_directcoloring.blend", + "visibility_particles.blend", +] + BLACKLIST_OSL = [ # OSL only supported on CPU. '.*_osl.blend', @@ -100,7 +109,7 @@ def main(): output_dir = args.outdir[0] device = args.device[0] - blacklist = [] + blacklist = BLACKLIST_ALL if device != 'CPU': blacklist += BLACKLIST_GPU if device != 'CPU' or 'OSL' in args.blacklist: |