From c6d3411bd195b74868db126bdadfa4a6bcae3203 Mon Sep 17 00:00:00 2001 From: Jan Rodak Date: Fri, 16 Feb 2024 14:03:10 +0100 Subject: [PATCH] Fix getting relevant benchmarks for a product --- build-scripts/compile_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/compile_all.py b/build-scripts/compile_all.py index 8f2c1682b4f7..64ba0f69c975 100644 --- a/build-scripts/compile_all.py +++ b/build-scripts/compile_all.py @@ -149,7 +149,7 @@ def get_relevant_benchmarks(env_yaml, product_yaml): out = set() for benchmark in BENCHMARKS: for path in benchmark_paths: - if benchmark in path: + if benchmark in os.path.normpath(path): out.add(benchmark) return out