summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wong2017-07-30 23:19:35 +0000
committerMark Wong2018-01-05 19:36:29 +0000
commitffd8738d36a77882b5be621491f9d255da163505 (patch)
treea797e88e8e4080ddeedf55f25e66f7bd72d8b34b
parent457432ee25f5336c959b1612e234dd121ca94a34 (diff)
Always write results of a test to results.json
The idea is to keep things simple by having a directory of results per test, and to have each directory with a consistently named results files.
-rw-r--r--client/benchmarks/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/benchmarks/runner.py b/client/benchmarks/runner.py
index 5686a3c..41a3d7e 100644
--- a/client/benchmarks/runner.py
+++ b/client/benchmarks/runner.py
@@ -118,7 +118,7 @@ class BenchmarkRunner(object):
'uname': uname,
}
- with open('%s/%s.json' % (self._output, config_name), 'w') as f:
+ with open('%s/results.json' % self._output, 'w') as f:
f.write(json.dumps(r, indent=4))
def run(self):