summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/mathl/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/mathl/init.c')
-rw-r--r--testsuites/libtests/mathl/init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/libtests/mathl/init.c b/testsuites/libtests/mathl/init.c
index 0dab9da789..ca26f1178f 100644
--- a/testsuites/libtests/mathl/init.c
+++ b/testsuites/libtests/mathl/init.c
@@ -27,6 +27,7 @@
#include <rtems/test.h>
const char rtems_test_name[] = "MATHL";
+rtems_printer rtems_test_printer;
#endif
#include <stdio.h>
@@ -58,10 +59,11 @@ int main( void )
#endif
{
#if __rtems__
+ rtems_print_printer_printf(&rtems_test_printer);
rtems_test_begin();
#endif
- domathl();
+ domathl();
#if __rtems__
rtems_test_end();