diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-12-08 17:52:49 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-12-08 17:52:49 +0000 |
commit | 500fcd5c880e3cd281dced795c88407e3e67b2af (patch) | |
tree | 33c03a68fc25214ea4de91a0757aaeaa05c31101 /testsuites/libtests/block04/init.c | |
parent | 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-500fcd5c880e3cd281dced795c88407e3e67b2af.tar.bz2 |
2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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.
Diffstat (limited to '')
-rw-r--r-- | testsuites/libtests/block04/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <assert.h> +#include "tmacros.h" #include <rtems.h> #include <rtems/ramdisk.h> #include <rtems/bdbuf.h> #include <rtems/diskdevs.h> -#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) |