diff options
author | Aaron Massey <aaronmassey@google.com> | 2022-08-10 15:30:48 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-14 16:14:11 +0000 |
commit | aad245d1600d2a934e476a4f211a2034e5f2d66e (patch) | |
tree | c1691c31df59fa33f3f9917b664daa8169b89dcf | |
parent | 0a72494c194eacbf2dba51d6d09bfa4997ce11b8 (diff) | |
download | chrome-ec-aad245d1600d2a934e476a4f211a2034e5f2d66e.tar.gz |
zephyr: firmware_builder: Log twister test fails
The zephyr/firmware_builder.py did not write the entire test log when
twister ran a failing test. When a test failed, there was no way to find
the specific test that failed from the logs.
Add verbose and inline log parameters to twister invocations in the
zephyr/firmware_builder.py CI script.
BRANCH=none
BUG=b:242058113
TEST=Run zephyr/firmware_builder.py locally
Signed-off-by: Aaron Massey <aaronmassey@google.com>
Change-Id: I1931d84987091b87c20313614b26b19e31e25d04
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3824924
Reviewed-by: Tristan Honscheid <honscheid@google.com>
-rwxr-xr-x | zephyr/firmware_builder.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/zephyr/firmware_builder.py b/zephyr/firmware_builder.py index 32e9cb0fdf..7e767a5902 100755 --- a/zephyr/firmware_builder.py +++ b/zephyr/firmware_builder.py @@ -29,7 +29,13 @@ SPECIAL_BOARDS = ["herobrine"] def run_twister(platform_ec, code_coverage=False, extra_args=None): """Build the tests using twister.""" - cmd = [platform_ec / "twister", "--outdir", platform_ec / "twister-out"] + cmd = [ + platform_ec / "twister", + "--outdir", + platform_ec / "twister-out", + "-v", + "-i", + ] if extra_args: cmd.extend(extra_args) |