diff options
author | Tom Hughes <tomhughes@chromium.org> | 2020-10-29 10:27:13 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-30 20:27:24 +0000 |
commit | 8dcad3805d366c4044ede8aaec18c03544a19e4e (patch) | |
tree | 11c1f6e8016884d2394fa1aacc97342de1c123a4 /test/run_device_tests.py | |
parent | a6ec60c2f392813f94e44bcceda6ab4c21d49101 (diff) | |
download | chrome-ec-8dcad3805d366c4044ede8aaec18c03544a19e4e.tar.gz |
test/fpsensor: Add test for checking protocol info
Note that the "fpsensor_uart_ro" test is broken at this point due to
b/171370392 and will be fixed in a followup commit.
BRANCH=none
BUG=b:171370392
TEST=Using dragonclaw v0.2 and servo_micro:
./test/run_device_tests.py -t fpsensor_uart_ro
./test/run_device_tests.py -t fpsensor_uart_rw
./test/run_device_tests.py -t fpsensor_spi_ro
./test/run_device_tests.py -t fpsensor_spi_rw
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I00cb5dd975fefe577381f1889e88aad000c8ba57
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2508859
Reviewed-by: Bhanu Prakash Maiya <bhanumaiya@google.com>
Diffstat (limited to 'test/run_device_tests.py')
-rwxr-xr-x | test/run_device_tests.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/test/run_device_tests.py b/test/run_device_tests.py index c236974af0..bed942f62e 100755 --- a/test/run_device_tests.py +++ b/test/run_device_tests.py @@ -114,8 +114,16 @@ class AllTests: TestConfig(name='flash_write_protect', image_to_use=ImageType.RO, toggle_power=True, enable_hw_write_protect=True), - 'fpsensor': - TestConfig(name='fpsensor'), + 'fpsensor_spi_ro': + TestConfig(name='fpsensor', image_to_use=ImageType.RO, + test_args=['spi']), + 'fpsensor_spi_rw': + TestConfig(name='fpsensor', test_args=['spi']), + 'fpsensor_uart_ro': + TestConfig(name='fpsensor', image_to_use=ImageType.RO, + test_args=['uart']), + 'fpsensor_uart_rw': + TestConfig(name='fpsensor', test_args=['uart']), 'mpu_ro': TestConfig(name='mpu', image_to_use=ImageType.RO, |