[rtems commit] tests: Support %g print format specifier

Sebastian Huber sebh at rtems.org
Fri Feb 9 07:57:18 UTC 2018


Module:    rtems
Branch:    master
Commit:    dc8fd0152928649ac83632a712d96c0dbeca05ae
Changeset: http://git.rtems.org/rtems/commit/?id=dc8fd0152928649ac83632a712d96c0dbeca05ae

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Feb  9 08:56:20 2018 +0100

tests: Support %g print format specifier

---

 testsuites/sptests/sp19/init.c  | 1 +
 testsuites/tmtests/tm26/task1.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/testsuites/sptests/sp19/init.c b/testsuites/sptests/sp19/init.c
index f1b75c4..ee499fa 100644
--- a/testsuites/sptests/sp19/init.c
+++ b/testsuites/sptests/sp19/init.c
@@ -34,6 +34,7 @@ rtems_task Init(
 {
   rtems_status_code status;
 
+  rtems_print_printer_fprintf_putc(&rtems_test_printer);
   TEST_BEGIN();
 
   Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' ' );
diff --git a/testsuites/tmtests/tm26/task1.c b/testsuites/tmtests/tm26/task1.c
index 35caae0..8145c58 100644
--- a/testsuites/tmtests/tm26/task1.c
+++ b/testsuites/tmtests/tm26/task1.c
@@ -144,6 +144,7 @@ rtems_task Init(
   rtems_id          task_id;
   rtems_status_code status;
 
+  rtems_print_printer_fprintf_putc(&rtems_test_printer);
   Print_Warning();
 
   TEST_BEGIN();



More information about the vc mailing list