summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp51
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/sp51
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp51')
-rw-r--r--testsuites/sptests/sp51/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp51/init.c b/testsuites/sptests/sp51/init.c
index 24640a2733..fba2206ec3 100644
--- a/testsuites/sptests/sp51/init.c
+++ b/testsuites/sptests/sp51/init.c
@@ -13,6 +13,8 @@
#include <tmacros.h>
+const char rtems_test_name[] = "SP 51";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
@@ -23,7 +25,7 @@ rtems_task Init(
rtems_status_code sc;
rtems_id mutex;
- puts( "\n\n*** TEST 51 ***" );
+ TEST_BEGIN();
puts( "Create semaphore - priority ceiling locked - violate ceiling" );
sc = rtems_semaphore_create(
@@ -55,7 +57,7 @@ rtems_task Init(
sc = rtems_semaphore_release( mutex );
directive_failed( sc, "rtems_semaphore_release" );
- puts( "*** END OF TEST 51 ***" );
+ TEST_END();
rtems_test_exit( 0 );
}
@@ -69,6 +71,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <rtems/confdefs.h>