diff options
Diffstat (limited to 'src/benchmark.py')
| -rw-r--r-- | src/benchmark.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/benchmark.py b/src/benchmark.py index ecac9d9..d94cc52 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -98,7 +98,8 @@ class Benchmark: default_results = {"args": self.args, "allocators": self.allocators, - "facts": {"libcs": {}}} + "facts": {"libcs": {}, + "versions": {}}} default_results.update({alloc: {} for alloc in self.allocators}) if not hasattr(self, "results"): @@ -189,6 +190,7 @@ class Benchmark: exe = src.util.find_cmd(r) if exe is not None: self.results["facts"]["libcs"][r] = src.facter.libc_ver(executable=exe) + self.results["facts"]["versions"][r] = src.facter.exec_ver(exe) else: raise Exception("Requirement: {} not found".format(r)) |
