Tests: Blocklist failing compositor OpenGL Linux tests

This patch blocklists the node_integer_math, exr_to_png, and png_to_exr
tests on OpenGL Linux. They are failing due to unknown reasons and can't
be reproduced locally.

Pull Request: https://projects.blender.org/blender/blender/pulls/163321
This commit is contained in:
Omar Emara 2026-08-31 14:06:03 +02:00 • committed by Omar Emara
parent d6143bd389
commit 34f5acedab
2 changed files with 21 additions and 1 deletions

View file

@ -18,6 +18,13 @@ sys.path.append(current_dir)
from modules.colored_print import print_message
BLOCKLIST_LINUX_GPU = [
# Unknown failure than can not be reproduced locally.
"png_to_exr.blend",
"exr_to_png.blend",
]
class FileOutputTest(unittest.TestCase):
"""
This class extends the compositor tests by supporting the File Output node.
@ -192,6 +199,9 @@ class FileOutputTest(unittest.TestCase):
ok = True
for filename in os.listdir(self.testdir):
if self.execution_device == "GPU" and sys.platform == "linux" and filename in BLOCKLIST_LINUX_GPU:
continue
test_name, ext = os.path.splitext(filename)
if ext != '.blend':
continue

View file

@ -57,14 +57,24 @@ def create_argparse():
return parser
BLOCKLIST_OPENGL_LINUX = [
# Unknown failure than can not be reproduced locally.
"node_integer_math.blend",
]
def main():
parser = create_argparse()
args = parser.parse_args()
blocklist = []
if args.gpu_backend == "opengl" and sys.platform == "linux":
blocklist += BLOCKLIST_OPENGL_LINUX
from modules import render_report
backend = args.gpu_backend if args.gpu_backend else "CPU"
report_title = f"Compositor {backend.upper()}"
report = render_report.Report(report_title, args.outdir, args.oiiotool)
report = render_report.Report(report_title, args.outdir, args.oiiotool, variation=None, blocklist=blocklist)
report.set_pixelated(True)
report.set_reference_dir("compositor_renders")