[rtems commit] smptests/smp05: Fix test name and output

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


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

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

smptests/smp05: Fix test name and output

---

 testsuites/smptests/smp05/init.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/testsuites/smptests/smp05/init.c b/testsuites/smptests/smp05/init.c
index 33d958f..06e6254 100644
--- a/testsuites/smptests/smp05/init.c
+++ b/testsuites/smptests/smp05/init.c
@@ -14,11 +14,11 @@
 #include <tmacros.h>
 #include "test_support.h"
 
-const char rtems_test_name[] = "SMP 6";
+const char rtems_test_name[] = "SMP 5";
 
 static void success(void)
 {
-  TEST_END();
+  rtems_test_end_with_plugin(locked_printf_plugin, NULL);
   rtems_test_exit( 0 );
 }
 
@@ -40,9 +40,8 @@ rtems_task Init(
   rtems_id           id;
   rtems_status_code  status;
 
-  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