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.
This commit is contained in:
Brecht Van Lommel 2022-01-26 18:37:20 +01:00
parent 489b484b7b
commit 13f2df3c28
1 changed files with 10 additions and 1 deletions

View File

@ -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: