[rtems commit] smptests/smp07: Fix test output

Sebastian Huber sebh at rtems.org
Wed May 7 16:25:30 UTC 2014


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed May  7 18:32:15 2014 +0200

smptests/smp07: Fix test output

---

 testsuites/smptests/smp07/init.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/testsuites/smptests/smp07/init.c b/testsuites/smptests/smp07/init.c
index 7e3f6f5..fabf722 100644
--- a/testsuites/smptests/smp07/init.c
+++ b/testsuites/smptests/smp07/init.c
@@ -22,7 +22,7 @@ rtems_id      Semaphore;
 
 static void success(void)
 {
-  TEST_END();
+  rtems_test_end_with_plugin(locked_printf_plugin, NULL);
   rtems_test_exit( 0 );
 }
 
@@ -89,9 +89,8 @@ rtems_task Init(
   rtems_interval     then;
   rtems_id           Timer;
 
-  TEST_BEGIN();
-
   locked_print_initialize();
+  rtems_test_begin_with_plugin(locked_printf_plugin, NULL);
 
   if ( rtems_get_processor_count() == 1 ) {
     success();




More information about the vc mailing list