summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorTristan Honscheid <honscheid@google.com>2022-07-19 14:13:16 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-22 15:13:17 +0000
commit1041d49b493d4036ae1a554ea5bc68bc151372fd (patch)
tree059af8e39cd2503f04aa3d4580248981feb8d48f /.gitignore
parent83b8d53fa25fef09acd768572d8c2d9b58388f97 (diff)
downloadchrome-ec-1041d49b493d4036ae1a554ea5bc68bc151372fd.tar.gz
zephyr: Add wrapper script for calling twister
Add a wrapper script that helps invoke twister with the correct configuration and defaults for running EC tests. Developers can simply run `./twister` from `src/platform/ec` to run all Twister-compatible EC tests, or specify specific tests to run by adding `-T path/to/testroot` arguments. Other CLI args are passed straight through to Twister. This CL also adds a testcase.yaml file to the `math` test, allowing it to be run through Twister: ``` cd $CROS_WORKON_SRCROOT/src/platform/ec ./twister (or) ./twister -T zephyr/test/math ``` Twister's output directories, `twister-out` and `twister-out.N` have been added to the `.gitignore`. The `firmware_builder.py` CQ script now also calls Twister and can merge in coverage reports. BRANCH=None BUG=None TEST=./twister Signed-off-by: Tristan Honscheid <honscheid@google.com> Change-Id: If6ff10ffb76655912c96a66aec28d12dcebd1764 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3773766 Reviewed-by: Yuval Peress <peress@google.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 49c5321a0c..75a29bf672 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,3 +31,6 @@ zephyr/zmake/.coverage
# Clangd language server
.cache/clangd/index/*
compile_commands.json
+
+# Twister test output directories
+twister-out*