diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 08:10:40 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-20 09:10:26 +0100 |
commit | f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 (patch) | |
tree | 851dc4a6921d6cc7936aefa6343c516fff452dd8 /testsuites/libtests/mathl | |
parent | tests/fstests: Remove duplicate begin/end messages (diff) | |
download | rtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2 |
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/mathl')
-rw-r--r-- | testsuites/libtests/mathl/init.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/testsuites/libtests/mathl/init.c b/testsuites/libtests/mathl/init.c index 490f68ccb5..d327cb45d1 100644 --- a/testsuites/libtests/mathl/init.c +++ b/testsuites/libtests/mathl/init.c @@ -24,6 +24,9 @@ #if __rtems__ #include <bsp.h> /* for device driver prototypes */ +#include <rtems/test.h> + +const char rtems_test_name[] = "MATHL"; #endif #include <stdio.h> @@ -40,6 +43,8 @@ extern void domathl(void); #define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT #define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT @@ -52,10 +57,14 @@ rtems_task Init( int main( void ) #endif { - fprintf( stdout, "*** LONG DOUBLE MATH TEST ***\n" ); +#if __rtems__ + rtems_test_begin(); +#endif domathl(); - fprintf( stdout, "*** END OF LONG DOUBLE MATH TEST ***\n" ); +#if __rtems__ + rtems_test_end(); +#endif exit( 0 ); } |