From 969214cba8c47321b9e9b349b94609b74663aab7 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 15 Oct 2025 17:13:16 +0200 Subject: [PATCH] Tests: Blocklist known failures for Cycles render tests This change marks hair_linear_close_up.blend is blocked for Metal-RT. Linear curves parameterization is different, see #146072 Pull Request: https://projects.blender.org/blender/blender/pulls/148119 --- tests/python/cycles_render_tests.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py index 0a7ceb814be..b3c0c4fc406 100644 --- a/tests/python/cycles_render_tests.py +++ b/tests/python/cycles_render_tests.py @@ -95,6 +95,13 @@ BLOCKLIST_OPTIX_OSL_ALL = BLOCKLIST_OPTIX_OSL_LIMITED + [ BLOCKLIST_METAL = [] +BLOCKLIST_METAL_RT = [ + # Metal RT uses different parameterization for linear curves. + # See discussion in #146072 + # https://projects.blender.org/blender/blender/issues/146072#issuecomment-1699788 + 'hair_linear_close_up.blend', +] + if platform.system() == "Darwin": version, _, _ = platform.mac_ver() major_version = version.split(".")[0] @@ -260,8 +267,12 @@ def main(): blocklist += BLOCKLIST_OPTIX_OSL_LIMITED elif args.osl == 'all': blocklist += BLOCKLIST_OPTIX_OSL_ALL + if device == 'METAL': blocklist += BLOCKLIST_METAL + if device == 'METAL-RT': + blocklist += BLOCKLIST_METAL + blocklist += BLOCKLIST_METAL_RT report = CyclesReport('Cycles', args.outdir, args.oiiotool, device, blocklist, args.osl == 'all')