diff options
author | Tom Hughes <tomhughes@chromium.org> | 2020-04-28 17:16:24 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-29 09:02:17 +0000 |
commit | ae97645e8f4a8dc554739450e64fef5c77666c2b (patch) | |
tree | b0752b519b9e29ec6dc8ad622794545eba493193 /board/nucleo-f412zg | |
parent | d0d63e01bbc5843263afa7b2b88213bbd7f97a77 (diff) | |
download | chrome-ec-ae97645e8f4a8dc554739450e64fef5c77666c2b.tar.gz |
stm32: Enable more on-device unit tests
As part of the effort to run unit tests on device, we start by enabling
a subset of the existing tests that compile and pass when run on device.
BRANCH=none
BUG=b:151105339
TEST=make BOARD=nucleo-dartmonkey tests -j
TEST=make BOARD=bloonchipper tests -j
TEST=make BOARD=dartmonkey tests -j
TEST=make BOARD=nucleo-f412zg tests -j
TEST=For each "test_name.bin" file created by above command
-> flash to dragonclaw dev board
-> "runtest" in the console
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: Ifbb3c1627c4da6b8aa27d2512530a879d54c86e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2172061
Commit-Queue: Yicheng Li <yichengli@chromium.org>
Reviewed-by: Yicheng Li <yichengli@chromium.org>
Diffstat (limited to 'board/nucleo-f412zg')
-rw-r--r-- | board/nucleo-f412zg/build.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/board/nucleo-f412zg/build.mk b/board/nucleo-f412zg/build.mk index 8e58009d96..26b10c5c63 100644 --- a/board/nucleo-f412zg/build.mk +++ b/board/nucleo-f412zg/build.mk @@ -9,4 +9,12 @@ BASEBOARD:=nucleo-f412zg board-y=board.o # Enable on device tests -test-list-y=aes sha256 sha256_unrolled +test-list-y=\ + aes \ + compile_time_macros \ + crc32 \ + mutex \ + pingpong \ + rtc \ + sha256 \ + sha256_unrolled \ |