summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp07
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-17 08:10:19 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-17 09:17:36 +0100
commitad48ebbfc7e56cfdaf33e7a77a314171d6455511 (patch)
treec150e12d845b5fab5cc689e150068b9b9d085b38 /testsuites/smptests/smp07
parenttests/samples: Use <rtems/test.h> (diff)
downloadrtems-ad48ebbfc7e56cfdaf33e7a77a314171d6455511.tar.bz2
tests/smptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/smptests/smp07')
-rw-r--r--testsuites/smptests/smp07/init.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/smptests/smp07/init.c b/testsuites/smptests/smp07/init.c
index 2580f05e72..c149023bdf 100644
--- a/testsuites/smptests/smp07/init.c
+++ b/testsuites/smptests/smp07/init.c
@@ -14,13 +14,15 @@
#include <tmacros.h>
#include "test_support.h"
+const char rtems_test_name[] = "SMP 7";
+
volatile bool TaskRan = false;
volatile bool TSRFired = false;
rtems_id Semaphore;
static void success(void)
{
- locked_printf( "*** END OF TEST SMP07 ***\n" );
+ TEST_END();
rtems_test_exit( 0 );
}
@@ -87,8 +89,9 @@ rtems_task Init(
rtems_interval then;
rtems_id Timer;
+ TEST_BEGIN();
+
locked_print_initialize();
- locked_printf( "\n\n*** TEST SMP07 ***\n" );
if ( rtems_smp_get_processor_count() == 1 ) {
success();
@@ -171,6 +174,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_MAXIMUM_TASKS 2
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_SEMAPHORES 2