diff options
author | Jeremy Bettis <jbettis@google.com> | 2022-02-17 09:22:23 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-23 03:13:00 +0000 |
commit | b9706f570201ea3fc5d55392f80dc5787122ca33 (patch) | |
tree | ae6f6e4666c85fdb8692a58b2dea6a07decb3f9a /docs/zephyr/ztest.md | |
parent | e328bf3ec4768ac170a4b6d5c489f93ab1510074 (diff) | |
download | chrome-ec-b9706f570201ea3fc5d55392f80dc5787122ca33.tar.gz |
zmake: Implement zmake test v2
As described in go/zmake-cli-v2
Change zmake test to call zmake configure --test, unless the
--no-rebuild flag is used, in which case just run tests on existing
binaries. It is an error to use --no-rebuild, if you never did a zmake
build.
BRANCH=None
BUG=b:217788621
TEST=make clobber
zmake -j8 build herobrine test-drivers
zmake -j8 test --no-rebuild herobrine
zmake -j8 test --no-rebuild herobrine test-drivers
zmake -j8 test --no-rebuild herobrine test-drivers test-tasks
zmake -j8 build test-tasks
zmake -j8 test --no-rebuild herobrine test-drivers test-tasks
make clobber
zmake -j8 build --coverage herobrine test-drivers
zmake -j8 test --coverage --no-rebuild herobrine
zmake -j8 test --coverage --no-rebuild herobrine test-drivers
zmake -j8 test --coverage --no-rebuild herobrine test-drivers test-tasks
zmake -j8 build --coverage test-tasks
zmake -j8 test --coverage --no-rebuild herobrine test-drivers test-tasks
zmake -j8 test --coverage herobrine brya
zmake -j8 test --coverage --no-rebuild herobrine brya
zmake -j8 testall
zmake -j8 test --all
zmake -j8 test --all --no-rebuild
zmake -j8 test --host-tests-only
zmake -j8 test --host-tests-only --no-rebuild
zmake -j8 test --host-tests-only --coverage
zmake -j8 test --host-tests-only --coverage
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I90f23cd0061d97e42359e1d49f2331b71554e3a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3472683
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'docs/zephyr/ztest.md')
-rw-r--r-- | docs/zephyr/ztest.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/zephyr/ztest.md b/docs/zephyr/ztest.md index 4a33d0a103..6bb121045d 100644 --- a/docs/zephyr/ztest.md +++ b/docs/zephyr/ztest.md @@ -178,7 +178,7 @@ uses. Use `zmake` to build and run the test: ``` -(cr) $ zmake -l DEBUG configure --test -B build/ztest/base32 test-base32 +(cr) $ zmake -l DEBUG test test-base32 ... UART_0 connected to pseudotty: /dev/pts/1 *** Booting Zephyr OS build zephyr-v2.4.0-1-g63b2330a85cd *** |