[Bf-blender-cvs] [13f2df3c280] master: Fix/workaround failing Cycles tests on macOS after ray offset changes

Brecht Van Lommel noreply at git.blender.org
Wed Jan 26 18:53:05 CET 2022


Commit: 13f2df3c2806a187682ddd05d8ce44d56a42239e
Author: Brecht Van Lommel
Date:   Wed Jan 26 18:37:20 2022 +0100
Branches: master
https://developer.blender.org/rB13f2df3c2806a187682ddd05d8ce44d56a42239e

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.

===================================================================

M	tests/python/cycles_render_tests.py

===================================================================

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:



More information about the Bf-blender-cvs mailing list