aboutsummaryrefslogtreecommitdiff
path: root/zephyr-upstream
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2020-07-03 12:05:08 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2020-07-03 12:05:08 +0300
commitc26486513cc7375d1771acdb6b564e41a78ce4a4 (patch)
tree4e798e32fdc8a48816a757fd5502843c53efb905 /zephyr-upstream
parentd78a6cc58bde1a80172a79b87326f1a51165020a (diff)
zephyr-upstream/submit_for_testing: Make test binary -> job mapping explicit
Previously, it was test binary path and test job URL each on its own line, whcih for repeated output made it easy to confuse how they are grouped together. So, print both on the same line instead. Change-Id: I9722243e6ee1b2115bf237ce942e6ee810246b52 Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Diffstat (limited to 'zephyr-upstream')
-rw-r--r--zephyr-upstream/submit_for_testing.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/zephyr-upstream/submit_for_testing.py b/zephyr-upstream/submit_for_testing.py
index fda55bc39a..bfabb12a40 100644
--- a/zephyr-upstream/submit_for_testing.py
+++ b/zephyr-upstream/submit_for_testing.py
@@ -398,8 +398,7 @@ def main():
try:
server = xmlrpclib.ServerProxy("%s://%s:%s@%s" % (urlsplit(lava_server).scheme, lava_user, lava_token, lava_server_base))
job_id = server.scheduler.submit_job(lava_job)
- print(test)
- print("%s/scheduler/job/%d" % (lava_server, job_id))
+ print(test + ":", "%s/scheduler/job/%d" % (lava_server, job_id))
tests_submitted += 1
except xmlrpclib.ProtocolError as err:
print(lava_job)
@@ -421,8 +420,7 @@ def main():
}
results = requests.post(qa_server_api, data=data, headers=headers)
if results.status_code < 300:
- print(test)
- print("%s/testjob/%s" % (qa_server_base, results.text))
+ print(test + ":", "%s/testjob/%s" % (qa_server_base, results.text))
tests_submitted += 1
else:
print(lava_job)