aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmark.py')
-rw-r--r--src/benchmark.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/benchmark.py b/src/benchmark.py
index d234755..6debefd 100644
--- a/src/benchmark.py
+++ b/src/benchmark.py
@@ -351,6 +351,9 @@ class Benchmark:
if self.measure_cmd.startswith("perf"):
Benchmark.is_perf_allowed()
+ # add benchmark dir to PATH
+ os.environ["PATH"] += f"{os.pathsep}{src.globalvars.builddir}/benchmarks/{self.name}"
+
# save one valid result to expand invalid results
valid_result = {}