summaryrefslogtreecommitdiff
path: root/test/run_device_tests.py
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2020-10-29 10:27:13 -0700
committerCommit Bot <commit-bot@chromium.org>2020-10-30 20:27:24 +0000
commit8dcad3805d366c4044ede8aaec18c03544a19e4e (patch)
tree11c1f6e8016884d2394fa1aacc97342de1c123a4 /test/run_device_tests.py
parenta6ec60c2f392813f94e44bcceda6ab4c21d49101 (diff)
downloadchrome-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-xtest/run_device_tests.py12
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,