diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-03 12:05:33 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-03 12:06:46 +0200 |
| commit | 27d22e487ce1967f5b387b3579ae1f9de4c8ce2b (patch) | |
| tree | 803d9cfbb4c9016a2b7ec2087dab37109089fcb8 | |
| parent | 4b46aeaf9ad58e943c3c9e8b6a0de0e19a51b73c (diff) | |
| download | allocbench-27d22e487ce1967f5b387b3579ae1f9de4c8ce2b.tar.gz allocbench-27d22e487ce1967f5b387b3579ae1f9de4c8ce2b.zip | |
[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.
| -rw-r--r-- | allocbench/benchmarks/espresso.py | 3 |
1 files changed, 2 insertions, 1 deletions
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): |
