diff options
Diffstat (limited to 'testsuites/libtests/complex/init.c')
-rw-r--r-- | testsuites/libtests/complex/init.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/testsuites/libtests/complex/init.c b/testsuites/libtests/complex/init.c index 58e2549bf2..185b38f8f3 100644 --- a/testsuites/libtests/complex/init.c +++ b/testsuites/libtests/complex/init.c @@ -22,13 +22,6 @@ #include "config.h" #endif -#if __rtems__ -#include <bsp.h> /* for device driver prototypes */ -#include <rtems/test.h> - -const char rtems_test_name[] = "COMPLEX"; -#endif - #include <stdio.h> #include <stdlib.h> @@ -37,6 +30,10 @@ extern void docomplexf(void); extern void docomplexl(void); #if __rtems__ +#include <tmacros.h> + +const char rtems_test_name[] = "COMPLEX"; + /* NOTICE: the clock driver is explicitly disabled */ #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER #define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER @@ -60,14 +57,14 @@ int main( void ) { #if __rtems__ rtems_print_printer_fprintf_putc(&rtems_test_printer); - rtems_test_begin(); + TEST_BEGIN(); #endif docomplex(); docomplexf(); docomplexl(); #if __rtems__ - rtems_test_end(); + TEST_END(); #endif exit( 0 ); } |