autotest: Get suite from keyvals in tko/parse
BUG=chromium:1002250
TEST=None
Change-Id: Ie65e7da456c3e2a00c2a032d121327004d222e25
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/1797342
Commit-Queue: Alex Zamorzaev <zamorzaev@chromium.org>
Tested-by: Alex Zamorzaev <zamorzaev@chromium.org>
Auto-Submit: Alex Zamorzaev <zamorzaev@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
diff --git a/tko/parse.py b/tko/parse.py
index 625d55f..ad19127 100755
--- a/tko/parse.py
+++ b/tko/parse.py
@@ -375,6 +375,9 @@
job.board = label_info.get('board', None)
job.suite = label_info.get('suite', None)
+ if 'suite' in job.keyval_dict:
+ job.suite = job.keyval_dict['suite']
+
result_utils_lib.LOG = tko_utils.dprint
_throttle_result_size(path)