From ffd8738d36a77882b5be621491f9d255da163505 Mon Sep 17 00:00:00 2001 From: Mark Wong Date: Sun, 30 Jul 2017 16:19:35 -0700 Subject: [PATCH] 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. --- client/benchmarks/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.39.5