diff options
Diffstat (limited to 'testsuites/libtests/complex/init.c')
-rw-r--r-- | testsuites/libtests/complex/init.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/testsuites/libtests/complex/init.c b/testsuites/libtests/complex/init.c index 2f3c800506..028c244e03 100644 --- a/testsuites/libtests/complex/init.c +++ b/testsuites/libtests/complex/init.c @@ -24,6 +24,9 @@ #if __rtems__ #include <bsp.h> /* for device driver prototypes */ +#include <rtems/test.h> + +const char rtems_test_name[] = "COMPLEX"; #endif #include <stdio.h> @@ -42,6 +45,8 @@ extern void docomplexl(void); #define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM #define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT @@ -54,11 +59,15 @@ rtems_task Init( int main( void ) #endif { - fprintf( stdout, "*** COMPLEX MATH TEST ***\n" ); +#if __rtems__ + rtems_test_begin(); +#endif docomplex(); docomplexf(); docomplexl(); - fprintf( stdout, "*** END OF COMPLEX MATH TEST ***\n" ); +#if __rtems__ + rtems_test_end(); +#endif exit( 0 ); } |