commit | d8fcbf52d983b340b20ac629e00ff201bdb7930e | [log] [tgz] |
---|---|---|
author | zhizhouy <zhizhouy@google.com> | Mon Apr 06 16:47:20 2020 -0700 |
committer | Manoj Gupta <manojgupta@chromium.org> | Tue Apr 07 01:49:26 2020 +0000 |
tree | 7a7536d9dc0c6da8e3b68e8eddf9bdc7edd0a94d | |
parent | 59ae2275be23aeebfa6f47e50c651229bd14f3f4 [diff] |
toolchain-utils: update email sending for nightly test This patch provides follow up to http://crrev.com/c/2119231. Crosperf will return non-zero when terminated or at least one test failed. When tests partially succeed, reports will still be generated, otherwise no reports. We will try to access the report no matter Crosperf's return value, send email and copy json report to archive dir; and then raise error when Crosperf returns non-zero accordingly. Also add date to the email title. BUG=chromium:1063703 TEST=Simply tested the coverage with print. Change-Id: I4b3f3667cf3a0fd9cef4906052de38432684862c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2137941 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Commit-Queue: Zhizhou Yang <zhizhouy@google.com> Tested-by: Zhizhou Yang <zhizhouy@google.com> Auto-Submit: Zhizhou Yang <zhizhouy@google.com>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.