From 512fe9673f2c3a62ca2b5bed00350f344d33770a Mon Sep 17 00:00:00 2001 From: Janos Follath Date: Fri, 29 Nov 2019 09:16:07 +0000 Subject: [PATCH] Fix test assert macro calls The assert() macro in test is not available anymore. It is superseeded by TEST_HELPER_ASSERT(). --- tests/suites/target_test.function | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/suites/target_test.function b/tests/suites/target_test.function index d430d9d5d..b097589a5 100644 --- a/tests/suites/target_test.function +++ b/tests/suites/target_test.function @@ -75,7 +75,7 @@ uint8_t receive_byte() c[1] = greentea_getc(); c[2] = '\0'; - assert( unhexify( &byte, c ) != 2 ); + TEST_HELPER_ASSERT( unhexify( &byte, c ) != 2 ); return( byte ); } @@ -100,7 +100,7 @@ uint32_t receive_uint32() greentea_getc(), '\0' }; - assert( unhexify( &value, c ) != 8 ); + TEST_HELPER_ASSERT( unhexify( &value, c ) != 8 ); return( (uint32_t)value ); }