From 86c5532674db3edf8793dc71cdc72dfb097523ec Mon Sep 17 00:00:00 2001 From: Zihao Yu Date: Tue, 3 Oct 2023 15:28:47 +0800 Subject: [PATCH] am-tests,intr: add panic message --- tests/am-tests/src/tests/intr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/am-tests/src/tests/intr.c b/tests/am-tests/src/tests/intr.c index 841e96b..855179d 100644 --- a/tests/am-tests/src/tests/intr.c +++ b/tests/am-tests/src/tests/intr.c @@ -9,7 +9,7 @@ Context *simple_trap(Event ev, Context *ctx) { case EVENT_YIELD: putch('y'); break; default: - break; + panic("Unhandled event"); break; } return ctx; }