summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp29
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/sp29
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp29')
-rw-r--r--testsuites/sptests/sp29/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp29/init.c b/testsuites/sptests/sp29/init.c
index b8ed6bcf0d..e65fbe3d45 100644
--- a/testsuites/sptests/sp29/init.c
+++ b/testsuites/sptests/sp29/init.c
@@ -11,10 +11,14 @@
#include <tmacros.h>
#include <bsp.h>
+const char rtems_test_name[] = "SP 29";
+
rtems_task Init (rtems_task_argument argument);
#define CONFIGURE_EXTRA_TASK_STACKS RTEMS_MINIMUM_STACK_SIZE
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
@@ -86,7 +90,7 @@ rtems_task Init (rtems_task_argument ignored)
rtems_status_code sc;
rtems_interval then, now;
- puts( "*** SP29 - SIMPLE SEMAPHORE TEST ***" );
+ TEST_BEGIN();
puts( "This test only prints on errors." );
ticksPerSecond = rtems_clock_get_ticks_per_second();
@@ -225,6 +229,6 @@ rtems_task Init (rtems_task_argument ignored)
}
}
- puts( "*** END OF TEST 29 ***" );
+ TEST_END();
rtems_test_exit (0);
}