summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2020-05-29 13:57:12 -0700
committerCommit Bot <commit-bot@chromium.org>2020-06-16 02:11:52 +0000
commit1764fcb25d77523bf3714eccdba07cd30d81c1d9 (patch)
tree0dd0387215e9b22c68bc65d087d52e99bdb5f399
parent46b3890c2903baf40054ba997cd786b073ba2293 (diff)
downloadchrome-ec-1764fcb25d77523bf3714eccdba07cd30d81c1d9.tar.gz
test: Run the mpu test using both RO and RW
BRANCH=none BUG=none TEST=With dragonclaw v0.2 connected to Segger J-Trace and servo micro: ./test/run_device_tests.py -t mpu_ro mpu_rw => PASS Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: Iffa99e23fd0a1feadd1f0061899d02e0d2cf78aa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2231722 Commit-Queue: Craig Hesling <hesling@chromium.org> Reviewed-by: Craig Hesling <hesling@chromium.org>
-rwxr-xr-xtest/run_device_tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/run_device_tests.py b/test/run_device_tests.py
index 5045009521..51df57f3f9 100755
--- a/test/run_device_tests.py
+++ b/test/run_device_tests.py
@@ -84,7 +84,11 @@ ALL_TESTS = {
'flash_write_protect':
TestConfig(name='flash_write_protect', image_to_use=ImageType.RO,
toggle_power=True),
- 'mpu':
+ 'mpu_ro':
+ TestConfig(name='mpu',
+ image_to_use=ImageType.RO,
+ finish_regexes=[DATA_ACCESS_VIOLATION_20000000_REGEX]),
+ 'mpu_rw':
TestConfig(name='mpu',
finish_regexes=[DATA_ACCESS_VIOLATION_20000000_REGEX]),
'mutex':