[rtems commit] tests: Use rtems_print_printer_fprintf_putc()

Sebastian Huber sebh at rtems.org
Sat Oct 28 12:08:31 UTC 2017


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Oct 26 13:59:08 2017 +0200

tests: Use rtems_print_printer_fprintf_putc()

Use rtems_print_printer_fprintf_putc() instead of
rtems_print_printer_printf() to output via rtems_putc().

Update #3170.
Update #3199.

---

 testsuites/libtests/capture01/init.c | 2 +-
 testsuites/libtests/complex/init.c   | 2 +-
 testsuites/libtests/math/init.c      | 2 +-
 testsuites/libtests/mathf/init.c     | 2 +-
 testsuites/libtests/mathl/init.c     | 2 +-
 testsuites/samples/capture/init.c    | 2 +-
 testsuites/samples/hello/init.c      | 2 +-
 testsuites/samples/loopback/init.c   | 2 +-
 testsuites/samples/paranoia/init.c   | 2 +-
 testsuites/samples/pppd/init.c       | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/testsuites/libtests/capture01/init.c b/testsuites/libtests/capture01/init.c
index 6d5d095..4791c5a 100644
--- a/testsuites/libtests/capture01/init.c
+++ b/testsuites/libtests/capture01/init.c
@@ -48,7 +48,7 @@ rtems_task Init(
   rtems_mode          old_mode;
   rtems_name          to_name = rtems_build_name('I', 'D', 'L', 'E');;
 
-  rtems_print_printer_printf(&rtems_test_printer);
+  rtems_print_printer_fprintf_putc(&rtems_test_printer);
 
   rtems_test_begin();
 
diff --git a/testsuites/libtests/complex/init.c b/testsuites/libtests/complex/init.c
index 7e21b2c..5f8ba34 100644
--- a/testsuites/libtests/complex/init.c
+++ b/testsuites/libtests/complex/init.c
@@ -59,7 +59,7 @@ int main( void )
 #endif
 {
 #if __rtems__
-  rtems_print_printer_printf(&rtems_test_printer);
+  rtems_print_printer_fprintf_putc(&rtems_test_printer);
   rtems_test_begin();
 #endif
 
diff --git a/testsuites/libtests/math/init.c b/testsuites/libtests/math/init.c
index b3d56c4..fc493e8 100644
--- a/testsuites/libtests/math/init.c
+++ b/testsuites/libtests/math/init.c
@@ -61,7 +61,7 @@ int main( void )
 #endif
 {
 #if __rtems__
-  rtems_print_printer_printf(&rtems_test_printer);
+  rtems_print_printer_fprintf_putc(&rtems_test_printer);
   rtems_test_begin();
 #endif
 
diff --git a/testsuites/libtests/mathf/init.c b/testsuites/libtests/mathf/init.c
index 671e881..a553e25 100644
--- a/testsuites/libtests/mathf/init.c
+++ b/testsuites/libtests/mathf/init.c
@@ -59,7 +59,7 @@ int main( void )
 #endif
 {
 #if __rtems__
-  rtems_print_printer_printf(&rtems_test_printer);
+  rtems_print_printer_fprintf_putc(&rtems_test_printer);
   rtems_test_begin();
 #endif
 
diff --git a/testsuites/libtests/mathl/init.c b/testsuites/libtests/mathl/init.c
index 98a6f45..7e239f3 100644
--- a/testsuites/libtests/mathl/init.c
+++ b/testsuites/libtests/mathl/init.c
@@ -59,7 +59,7 @@ int main( void )
 #endif
 {
 #if __rtems__
-  rtems_print_printer_printf(&rtems_test_printer);
+  rtems_print_printer_fprintf_putc(&rtems_test_printer);
   rtems_test_begin();
 #endif
 
diff --git a/testsuites/samples/capture/init.c b/testsuites/samples/capture/init.c
index 24f04c5..2bf21c8 100644
--- a/testsuites/samples/capture/init.c
+++ b/testsuites/samples/capture/init.c
@@ -48,7 +48,7 @@ rtems_task Init(
   rtems_task_priority old_priority;
   rtems_mode          old_mode;
 
-  rtems_print_printer_printf(&rtems_test_printer);
+  rtems_print_printer_fprintf_putc(&rtems_test_printer);
   rtems_test_begin();
 
   status = rtems_shell_wait_for_input(
diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c
index ba379fb..216a8b7 100644
--- a/testsuites/samples/hello/init.c
+++ b/testsuites/samples/hello/init.c
@@ -28,7 +28,7 @@ rtems_task Init(
   rtems_task_argument ignored
 )
 {
-  rtems_print_printer_printf(&rtems_test_printer);
+  rtems_print_printer_fprintf_putc(&rtems_test_printer);
   rtems_test_begin();
   printf( "Hello World\n" );
   rtems_test_end();
diff --git a/testsuites/samples/loopback/init.c b/testsuites/samples/loopback/init.c
index 3ff8fbd..0532ef0 100644
--- a/testsuites/samples/loopback/init.c
+++ b/testsuites/samples/loopback/init.c
@@ -248,7 +248,7 @@ Init (rtems_task_argument ignored)
 {
     rtems_status_code sc;
 
-    rtems_print_printer_printf(&rtems_test_printer);
+    rtems_print_printer_fprintf_putc(&rtems_test_printer);
 
     rtems_test_begin();
 
diff --git a/testsuites/samples/paranoia/init.c b/testsuites/samples/paranoia/init.c
index 4326db3..1ee4db0 100644
--- a/testsuites/samples/paranoia/init.c
+++ b/testsuites/samples/paranoia/init.c
@@ -37,7 +37,7 @@ rtems_task Init(
   M68KFPSPInstallExceptionHandlers ();
 #endif
 
-  rtems_print_printer_printf(&rtems_test_printer);
+  rtems_print_printer_fprintf_putc(&rtems_test_printer);
   rtems_test_begin();
   paranoia(1, args);
   rtems_test_end();
diff --git a/testsuites/samples/pppd/init.c b/testsuites/samples/pppd/init.c
index d689ff1..1a9ddee 100644
--- a/testsuites/samples/pppd/init.c
+++ b/testsuites/samples/pppd/init.c
@@ -39,7 +39,7 @@ rtems_task Init(rtems_task_argument argument)
 {
   rtems_status_code status;
 
-  rtems_print_printer_printf(&rtems_test_printer);
+  rtems_print_printer_fprintf_putc(&rtems_test_printer);
 
   rtems_test_begin();
 




More information about the vc mailing list