From e908fcc943d0bfec701c8c510c13dfb5793ca404 Mon Sep 17 00:00:00 2001 From: Mary Ruthven Date: Fri, 6 Mar 2020 13:37:12 -0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2092202 Reviewed-by: Shelley Chen (cherry picked from commit 4bdb7d9889371ca8ae74599cead640a254ed7b0d) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2278525 Tested-by: Vadim Bendebury Commit-Queue: Tom Hughes --- docs/ccd_howtos.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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. -- cgit v1.2.1