summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2020-03-06 13:37:12 -0800
committerCommit Bot <commit-bot@chromium.org>2020-07-10 22:25:22 +0000
commite908fcc943d0bfec701c8c510c13dfb5793ca404 (patch)
tree1265cb5ca7a69072e85777e6af7ae951c62c5b35
parente31f33dc19c5fe9b0677f52f9b5f018d02b535ad (diff)
downloadchrome-ec-e908fcc943d0bfec701c8c510c13dfb5793ca404.tar.gz
ccd_howtos: add test_that command
Add a test_that command to show how we run tests locally. BUG=none TEST=none Change-Id: I04d1a5d96c03b1cdceff6677e64893498837ea88 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2092202 Reviewed-by: Shelley Chen <shchen@chromium.org> (cherry picked from commit 4bdb7d9889371ca8ae74599cead640a254ed7b0d) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2278525 Tested-by: Vadim Bendebury <vbendeb@chromium.org> Commit-Queue: Tom Hughes <tomhughes@chromium.org>
-rw-r--r--docs/ccd_howtos.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/ccd_howtos.md b/docs/ccd_howtos.md
index 9a5a4e3b7c..93d272e1b5 100644
--- a/docs/ccd_howtos.md
+++ b/docs/ccd_howtos.md
@@ -190,7 +190,15 @@ is not a clamshell, check out the [full dev mode instructions].
chroot > dut-control ec_board
-13. **Debug Setup**
+13. **Try running a test** Use autotest_dir, so you don't need to about what
+ autotest packages to emerge. firmware_ECHash is just a short test. If your
+ board doesn't have an EC, try something else. Use firmware_FAFTSetup to
+ verify the setup will work with faft-ec and faft-bios.
+
+ chroot > test_that $IP --autotest_dir \
+ ~/trunk/src/third_party/autotest/files/ firmware_ECHash
+
+14. **Debug Setup**
* **Cr50 capabilities:** EC uart capability needs to always be accessible.