From 2e38d5cf77f1e3154fffe60912eae427e86b2e1a Mon Sep 17 00:00:00 2001 From: Igor Chorazewicz Date: Thu, 12 Dec 2024 18:43:07 +0000 Subject: [PATCH] [Benchmarks] fix running benchmarks when umf dir is not specified benchmarks += s.benchmarks() was failing since benchmarks returned None --- scripts/benchmarks/benches/umf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/benchmarks/benches/umf.py b/scripts/benchmarks/benches/umf.py index 251cf15a93..a7978f555d 100644 --- a/scripts/benchmarks/benches/umf.py +++ b/scripts/benchmarks/benches/umf.py @@ -30,7 +30,7 @@ def setup(self): def benchmarks(self) -> list[Benchmark]: if not isUMFAvailable(): - return + return [] benches = [ GBench(self),