From 2256552c1d02ce09520e8a876273f9181ba5dabb Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Thu, 7 Aug 2025 14:05:08 +0200 Subject: [PATCH] tests/drivers/sam0_eth: fix NDEBUG compilation problems --- tests/drivers/sam0_eth/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/drivers/sam0_eth/main.c b/tests/drivers/sam0_eth/main.c index 3de13066e5..0b23b665e2 100644 --- a/tests/drivers/sam0_eth/main.c +++ b/tests/drivers/sam0_eth/main.c @@ -21,9 +21,9 @@ #include #include "shell.h" +#include "test_utils/expect.h" #include "test_utils/netdev_eth_minimal.h" #include "init_dev.h" -#include "assert.h" #include "net/netdev.h" #include "sam0_eth_netdev.h" @@ -39,7 +39,7 @@ int netdev_eth_minimal_init_devs(netdev_event_cb_t cb) { /* initialize the device driver */ int res = sam0_eth.driver->init(&sam0_eth); - assert(!res); + expect(!res); return 0; }