summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/README.md
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2022-02-15 15:15:30 +1100
committerCommit Bot <commit-bot@chromium.org>2022-02-15 07:51:11 +0000
commit393506c8b6c1714857484fd270510144c42d6204 (patch)
tree93641f7488310e6698f91307bc4570cf9d47e408 /zephyr/test/drivers/README.md
parent31ae529b9b5f3923c430c0a3f128621915931f59 (diff)
downloadchrome-ec-393506c8b6c1714857484fd270510144c42d6204.tar.gz
zephyr: Update docs in test/drivers
Update README.md in test/drivers to remove deprecated target. BUG=none TEST=none BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: Ia268508859cb14473bd7ac0a4001a18938a4661c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3463102 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/test/drivers/README.md')
-rw-r--r--zephyr/test/drivers/README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/zephyr/test/drivers/README.md b/zephyr/test/drivers/README.md
index ab57e510cf..c252f1aa02 100644
--- a/zephyr/test/drivers/README.md
+++ b/zephyr/test/drivers/README.md
@@ -5,13 +5,13 @@ so we can test interactions between different subsystems easily.
## Run all the test suites
```bash
-(chroot) zmake configure --test zephyr/test/drivers
+(chroot) zmake configure --test test-drivers
```
To see all the output of zmake (for example if the build fails)
```bash
-(chroot) zmake -l DEBUG -j 1 configure --test zephyr/test/drivers
+(chroot) zmake -l DEBUG -j 1 configure --test test-drivers
```
## Code coverage
@@ -19,7 +19,7 @@ To see all the output of zmake (for example if the build fails)
To calculate code coverage for this test only
```bash
-(chroot) zmake configure --coverage --test zephyr/test/drivers
+(chroot) zmake configure --coverage --test test-drivers
(chroot) genhtml --branch-coverage -q \
-o build/zephyr/test-drivers/output/coverage_rpt \
build/zephyr/test-drivers/output/zephyr.info
@@ -37,7 +37,7 @@ You need the host version of gdb:
Build the test
```bash
-(chroot) zmake configure --build zephyr/test/drivers
+(chroot) zmake configure --build test-drivers
```
Then run gdb