From 27d22e487ce1967f5b387b3579ae1f9de4c8ce2b Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 3 Jul 2020 12:05:33 +0200 Subject: [espresso] don't include an absolute path for the file argument This allows espresso to be analyzed using chattymalloc, because we use the argument as part as the name of the trace file. This obviously breaks if the argument itself is an absolute path. --- allocbench/benchmarks/espresso.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/allocbench/benchmarks/espresso.py b/allocbench/benchmarks/espresso.py index 1367bb2..32efa8b 100644 --- a/allocbench/benchmarks/espresso.py +++ b/allocbench/benchmarks/espresso.py @@ -69,10 +69,11 @@ class BenchmarkEspresso(Benchmark): self.cmd = "espresso{binary_suffix} {file}" self.args = { - "file": [os.path.join(BENCHSRCDIR, name, "largest.espresso")] + "file": ["largest.espresso"] } self.requirements = ["espresso"] + self.run_dir = os.path.join(BENCHSRCDIR, name) super().__init__(name) def summary(self): -- cgit v1.2.3