Skip to content

Commit fb8b600

Browse files
committed
Fix the finding of excluded benchmarks
1 parent 9dc21d9 commit fb8b600

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bench_runner/util.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,8 @@ def apply_suffix(path: Path, suffix: str) -> Path:
3131
@functools.cache
3232
def get_excluded_benchmarks() -> set[str]:
3333
conf = config.get_bench_runner_config()
34-
return set(conf.get("benchmarks", {}).get("excluded", []))
34+
benchmarks_section = conf.get("benchmarks", {})
35+
for key in ("excluded", "excluded_benchmarks"):
36+
if key in benchmarks_section:
37+
return set(benchmarks_section[key])
38+
return set()

0 commit comments

Comments
 (0)