diff options
author | Tom Hughes <tomhughes@chromium.org> | 2022-11-01 13:08:27 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-11-04 15:44:43 +0000 |
commit | 3136b90d32c48ad4c788e99bf5fbffc8d72580b4 (patch) | |
tree | 9b2aa7a4c7821c8f920838e5c0088de1533f8dea /test/run_device_tests.py | |
parent | d05099c826aed67f4b132c44d8e18a2fc1e6c489 (diff) | |
download | chrome-ec-3136b90d32c48ad4c788e99bf5fbffc8d72580b4.tar.gz |
test: Add libc_printf test
BRANCH=none
BUG=b:234181908, b:254530679
TEST=./test/run_device_tests.py --board dartmonkey -t libc_printf
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I5ac9838dd59cb048325a27cc28d7859da040b52d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3997616
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Bobby Casey <bobbycasey@google.com>
Reviewed-by: Andrea Grandi <agrandi@google.com>
Diffstat (limited to 'test/run_device_tests.py')
-rwxr-xr-x | test/run_device_tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/run_device_tests.py b/test/run_device_tests.py index 0aee1428f5..cfa034ac91 100755 --- a/test/run_device_tests.py +++ b/test/run_device_tests.py @@ -91,6 +91,7 @@ DATA_ACCESS_VIOLATION_20000000_REGEX = re.compile( DATA_ACCESS_VIOLATION_24000000_REGEX = re.compile( r"Data access violation, mfar = 24000000\r\n" ) +PRINTF_CALLED_REGEX = re.compile(r"printf called\r\n") BLOONCHIPPER = "bloonchipper" DARTMONKEY = "dartmonkey" @@ -236,6 +237,10 @@ class AllTests: test_args=["uart"], ), TestConfig( + test_name="libc_printf", + finish_regexes=[PRINTF_CALLED_REGEX], + ), + TestConfig( config_name="mpu_ro", test_name="mpu", image_to_use=ImageType.RO, |