From 500fcd5c880e3cd281dced795c88407e3e67b2af Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 8 Dec 2009 17:52:49 +0000 Subject: 2009-12-08 Joel Sherrill * block01/init.c, block02/init.c, block03/init.c, block04/init.c, block05/init.c, block07/init.c, bspcmdline01/init.c, stringto01/init.c, stringto01/stringto_test_template.h, termios01/init.c, termios01/termios_testdriver.c, termios02/init.c: Use rtems_test_assert() consistently instead of system assert(). rtems_test_assert() is designed to integrate into the RTEMS test suite infrastructure. --- testsuites/libtests/block04/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuites/libtests/block04') diff --git a/testsuites/libtests/block04/init.c b/testsuites/libtests/block04/init.c index 122c24742b..a7bda26dee 100644 --- a/testsuites/libtests/block04/init.c +++ b/testsuites/libtests/block04/init.c @@ -19,14 +19,14 @@ * http://www.rtems.com/license/LICENSE. */ -#include +#include "tmacros.h" #include #include #include #include -#define ASSERT_SC(sc) assert((sc) == RTEMS_SUCCESSFUL) +#define ASSERT_SC(sc) rtems_test_assert((sc) == RTEMS_SUCCESSFUL) #define PRIORITY_INIT 10 @@ -66,7 +66,7 @@ static void task_low(rtems_task_argument arg) printk("L: sync done: 0\n"); - assert(false); + rtems_test_assert(false); } static void task_high(rtems_task_argument arg) -- cgit v1.2.3