summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp59
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/sp59
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp59')
-rw-r--r--testsuites/sptests/sp59/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp59/init.c b/testsuites/sptests/sp59/init.c
index 238dba3d2a..2e68b9f2ac 100644
--- a/testsuites/sptests/sp59/init.c
+++ b/testsuites/sptests/sp59/init.c
@@ -13,6 +13,8 @@
#include <tmacros.h>
+const char rtems_test_name[] = "SP 59";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
rtems_task Blocking_task(rtems_task_argument ignored);
@@ -53,7 +55,7 @@ rtems_task Init(
void *address_1;
rtems_task_priority priority;
- puts( "\n\n*** TEST 59 ***" );
+ TEST_BEGIN();
priority = RTEMS_MAXIMUM_PRIORITY / 4;
priority = (priority * 3) + (priority / 2);
@@ -110,7 +112,7 @@ rtems_task Init(
status = rtems_task_wake_after( RTEMS_MILLISECONDS_TO_TICKS(1000) );
directive_failed( status, "rtems_task_wake_after" );
- puts( "*** END OF TEST 59 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -121,6 +123,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_REGIONS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT