summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-05-07 18:30:36 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-05-07 18:30:36 +0200
commit8fa342218d12d69c76b870ba160949e60980af0a (patch)
treec174ec269d5e5cda4c7be2a665e72ce0088af64a
parenttests: Add locked_printf_plugin() (diff)
downloadrtems-8fa342218d12d69c76b870ba160949e60980af0a.tar.bz2
smptests/smp05: Fix test name and output
-rw-r--r--testsuites/smptests/smp05/init.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuites/smptests/smp05/init.c b/testsuites/smptests/smp05/init.c
index 33d958f25a..06e6254bae 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();