diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | obbenchlib/benchmarker.py | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -7,6 +7,8 @@ Version 0.4, released UNRELEASED * Put the spec file on the front page of HTML output, and the spec for each benchmark on the benchmark's HTML page. +* Actually obey the `obnam_config` part of the spec file. Oops. + Version 0.3, released 2015-12-27 -------------------------------- diff --git a/obbenchlib/benchmarker.py b/obbenchlib/benchmarker.py index 9e90288..82b6998 100644 --- a/obbenchlib/benchmarker.py +++ b/obbenchlib/benchmarker.py @@ -85,6 +85,8 @@ class Benchmarker(object): f.write('quiet = no\n') f.write('repository = %s\n' % self._repodir) f.write('root = %s\n' % self._livedir) + for key, value in self.spec.get('obnam_config', {}): + f.write('%s = %s\n' % (key, value)) return config def prepare_obnam(self, ref): |