summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-02-12 10:49:33 -0800
committerCommit Bot <commit-bot@chromium.org>2021-02-16 22:56:38 +0000
commitb3a07b9b2eb966d13e315db76cd3775ca42d4a0c (patch)
treee4d04efba1f47e3ae7c07c760fc6fc1c0494838b /test
parenta05a475096e7a58d1a7871acf0506650b3e6d491 (diff)
downloadchrome-ec-b3a07b9b2eb966d13e315db76cd3775ca42d4a0c.tar.gz
fingerprint: Enable more on-device unit tests
BRANCH=none BUG=b:155235321 TEST=On dragonclaw v0.2 with servo micro and jlink: ./test/run_device_test.py --board bloonchipper => tests pass TEST=On icetower v0.1 with servo micro and jlink: ./test/run_device_test.py --board dartmonkey => tests pass Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I884ee93779235a387ed64bfe02643abee2009243 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2692877 Reviewed-by: Craig Hesling <hesling@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/queue.c1
-rwxr-xr-xtest/run_device_tests.py12
2 files changed, 12 insertions, 1 deletions
diff --git a/test/queue.c b/test/queue.c
index 4e12fb147b..e0be1b5d9a 100644
--- a/test/queue.c
+++ b/test/queue.c
@@ -11,7 +11,6 @@
#include "test_util.h"
#include "timer.h"
#include "util.h"
-#include <stdio.h>
static struct queue const test_queue8 = QUEUE_NULL(8, char);
static struct queue const test_queue2 = QUEUE_NULL(2, int16_t);
diff --git a/test/run_device_tests.py b/test/run_device_tests.py
index 261cb476db..b30ddcfd49 100755
--- a/test/run_device_tests.py
+++ b/test/run_device_tests.py
@@ -108,6 +108,8 @@ class AllTests:
tests = {
'aes':
TestConfig(name='aes'),
+ 'cec':
+ TestConfig(name='cec'),
'crc':
TestConfig(name='crc'),
'flash_physical':
@@ -138,6 +140,10 @@ class AllTests:
TestConfig(name='mutex'),
'pingpong':
TestConfig(name='pingpong'),
+ 'printf':
+ TestConfig(name='printf'),
+ 'queue':
+ TestConfig(name='queue'),
'rollback_region0':
TestConfig(name='rollback', finish_regexes=[
board_config.rollback_region0_regex],
@@ -154,8 +160,14 @@ class AllTests:
TestConfig(name='sha256'),
'sha256_unrolled':
TestConfig(name='sha256_unrolled'),
+ 'static_if':
+ TestConfig(name='static_if'),
+ 'timer_dos':
+ TestConfig(name='timer_dos'),
'utils':
TestConfig(name='utils', timeout_secs=20),
+ 'utils_str':
+ TestConfig(name='utils_str'),
}
if board_config.name == BLOONCHIPPER: