From a799b6e3996288ec9fb295bef5a5c4407f8da24c Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 22 Aug 2019 20:03:34 +0200 Subject: add benchmark members to available substitutions --- src/benchmark.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) -- cgit v1.2.3