aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/benchmark.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/benchmark.py b/src/benchmark.py
index 3174416..1805922 100644
--- a/src/benchmark.py
+++ b/src/benchmark.py
@@ -223,6 +223,7 @@ class Benchmark (object):
"perm": alloc_name,
"builddir": src.globalvars.builddir}
+ substitutions.update(self.__dict__)
substitutions.update(alloc)
for server_cmd in self.server_cmds:
@@ -313,6 +314,7 @@ class Benchmark (object):
# Available substitutions in cmd
substitutions = {"run": run}
+ substitutions.update(self.__dict__)
substitutions.update(perm._asdict())
substitutions["perm"] = ("{}-"*(len(perm)-1) + "{}").format(*perm)
substitutions.update(alloc)