summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp65
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/sp65
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp65')
-rw-r--r--testsuites/sptests/sp65/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp65/init.c b/testsuites/sptests/sp65/init.c
index 66ff7d9d63..cba836d422 100644
--- a/testsuites/sptests/sp65/init.c
+++ b/testsuites/sptests/sp65/init.c
@@ -14,6 +14,8 @@
#include <tmacros.h>
#include <unistd.h>
+const char rtems_test_name[] = "SP 65";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
rtems_task Task_1(rtems_task_argument arg);
@@ -33,7 +35,7 @@ rtems_task Init(
int status;
rtems_id Mutex_id, Task_id;
- puts( "\n\n*** TEST " TEST_NAME " ***" );
+ TEST_BEGIN();
/*
* Create binary semaphore (a.k.a. Mutex) with Priority Ceiling
@@ -74,7 +76,7 @@ rtems_task Init(
status = rtems_semaphore_release( Mutex_id );
directive_failed( status, "rtems_semaphore_release" );
- puts( "*** END OF TEST 65 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -104,6 +106,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_INIT_TASK_PRIORITY TASK_PRIORITY
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT