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 | |
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>
-rw-r--r-- | board/hatch_fp/build.mk | 10 | ||||
-rw-r--r-- | board/nocturne_fp/build.mk | 10 | ||||
-rw-r--r-- | board/nucleo-dartmonkey/build.mk | 10 | ||||
-rw-r--r-- | board/nucleo-f412zg/build.mk | 10 | ||||
-rw-r--r-- | board/nucleo-h743zi/build.mk | 10 |
5 files changed, 45 insertions, 5 deletions
diff --git a/board/hatch_fp/build.mk b/board/hatch_fp/build.mk index a6a37a3ace..93c40a530d 100644 --- a/board/hatch_fp/build.mk +++ b/board/hatch_fp/build.mk @@ -11,4 +11,12 @@ CHIP_VARIANT:=stm32f412 board-y=board.o fpsensor_detect.o -test-list-y=aes sha256 sha256_unrolled +test-list-y=\ + aes \ + compile_time_macros \ + crc32 \ + mutex \ + pingpong \ + rtc \ + sha256 \ + sha256_unrolled \ diff --git a/board/nocturne_fp/build.mk b/board/nocturne_fp/build.mk index 9874357472..3bc105df9a 100644 --- a/board/nocturne_fp/build.mk +++ b/board/nocturne_fp/build.mk @@ -12,4 +12,12 @@ CHIP_VARIANT:=stm32h7x3 board-rw=ro_workarounds.o board-y=board.o fpsensor_detect.o -test-list-y=aes sha256 sha256_unrolled +test-list-y=\ + aes \ + compile_time_macros \ + crc32 \ + mutex \ + pingpong \ + rtc \ + sha256 \ + sha256_unrolled \ diff --git a/board/nucleo-dartmonkey/build.mk b/board/nucleo-dartmonkey/build.mk index b26b249720..6bc55bd88d 100644 --- a/board/nucleo-dartmonkey/build.mk +++ b/board/nucleo-dartmonkey/build.mk @@ -10,4 +10,12 @@ board-y=board.o board-y+=fpsensor_detect.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 \ 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 \ diff --git a/board/nucleo-h743zi/build.mk b/board/nucleo-h743zi/build.mk index 3de2a44adc..bdf068d328 100644 --- a/board/nucleo-h743zi/build.mk +++ b/board/nucleo-h743zi/build.mk @@ -9,4 +9,12 @@ BASEBOARD:=nucleo-h743zi 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 \ |