summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp34
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:21 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:21 +0100
commit6c0301daad418d362f71eaa7e5c4b6a2d948fc50 (patch)
treed08b9e09d3c69ca35f96c9f1eeff8eb244df92ed /testsuites/sptests/sp34
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp34')
-rw-r--r--testsuites/sptests/sp34/changepri.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp34/changepri.c b/testsuites/sptests/sp34/changepri.c
index 87642cabe8..fea1fbea55 100644
--- a/testsuites/sptests/sp34/changepri.c
+++ b/testsuites/sptests/sp34/changepri.c
@@ -29,6 +29,8 @@
#include <stdio.h>
#include "tmacros.h"
+const char rtems_test_name[] = "SP 34";
+
rtems_task BlockingTasks(rtems_task_argument arg);
rtems_task Init(rtems_task_argument ignored);
const char *CallerName(void);
@@ -111,7 +113,7 @@ rtems_task Init(rtems_task_argument ignored)
rtems_status_code status;
int i;
- puts( "\n\n*** TEST 34 ***" );
+ TEST_BEGIN();
/* Create synchronisation semaphore for LocalHwIsr -> Test Tasks */
status = rtems_semaphore_create(
@@ -169,7 +171,7 @@ rtems_task Init(rtems_task_argument ignored)
}
/* exit the test */
- puts( "*** END OF TEST 34 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -178,6 +180,8 @@ rtems_task Init(rtems_task_argument ignored)
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS \