summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2017-12-11 13:10:51 +0200
committerPetri Latvala <petri.latvala@intel.com>2017-12-11 13:45:55 +0200
commitcff44158dd500d60b88e296f8477769a2ab41234 (patch)
treec3f8fbe1e1cad50a7934231d0512f1c2c9562a02
parent09f96d43c073d9d54534bd1405a29f7a8af54e42 (diff)
ezbench: Properly fill the work object
Signed-off-by: Petri Latvala <petri.latvala@intel.com> Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
-rwxr-xr-xezbench2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezbench b/ezbench
index b30575c..5b58f3b 100755
--- a/ezbench
+++ b/ezbench
@@ -194,8 +194,8 @@ class RestHandler(CommandHandler):
# TODO: tests_exclude
work = { "commits": {} }
for commit in commits:
+ work["commits"][commit] = { "tests": {} }
for test in tests:
- work["commits"][commit] = { "tests": {} }
work["commits"][commit]["tests"][test] = rounds
self.patch(self.job_url + "/work", work)