From a4bcd624d301ff28979a4cfa5784125c46a69e47 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Thu, 7 Aug 2025 11:48:39 +0200 Subject: [PATCH] tests/drivers/ethos: fix NDEBUG compilation problems --- tests/drivers/ethos/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/drivers/ethos/main.c b/tests/drivers/ethos/main.c index a9658beccb..82190cf4e5 100644 --- a/tests/drivers/ethos/main.c +++ b/tests/drivers/ethos/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 "ethos.h" #include "ethos_params.h" @@ -42,7 +42,7 @@ int netdev_eth_minimal_init_devs(netdev_event_cb_t cb) { /* initialize the device driver */ int res = device->driver->init(device); - assert(!res); + expect(!res); } return 0;