summaryrefslogtreecommitdiff
path: root/test/build.mk
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-11-16 09:25:35 -0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-10-18 00:20:08 +0000
commitb9be252fa3d0acf5c0306e823680564117750c3c (patch)
tree90177ca48e98f2424a0b37354237473563b812bb /test/build.mk
parent1b684a8e0473eff0f29ecabdc70fac3cf378d2bd (diff)
downloadchrome-ec-b9be252fa3d0acf5c0306e823680564117750c3c.tar.gz
test: Add panic test
Add a test for ARM that verifies that exception_panic() correctly preserves the registers we expect it to. BRANCH=none BUG=b:172020503 TEST=./test/run_device_tests.py --board bloonchipper -t panic TEST=make BOARD=discovery-stm32f072 test-panic openocd -c "set BOARD discovery-stm32f072" \ -c "set BUILD_DIR build/discovery-stm32f072/panic" \ -f board/discovery-stm32f072/openocd-flash.cfg screen /dev/ttyUSB1 > runtest Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I592483c922652df8a4fb2b0a0a5fb57b1480b8b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3288761 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'test/build.mk')
-rw-r--r--test/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/build.mk b/test/build.mk
index aeb6fdf956..4f9674b306 100644
--- a/test/build.mk
+++ b/test/build.mk
@@ -223,6 +223,7 @@ kasa-y=kasa.o
mpu-y=mpu.o
mutex-y=mutex.o
newton_fit-y=newton_fit.o
+panic-y=panic.o
panic_data-y=panic_data.o
pingpong-y=pingpong.o
power_button-y=power_button.o