summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spsimplesched02/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spsimplesched02/init.c')
-rw-r--r--testsuites/sptests/spsimplesched02/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spsimplesched02/init.c b/testsuites/sptests/spsimplesched02/init.c
index 7665ec9f7a..2bf7b50661 100644
--- a/testsuites/sptests/spsimplesched02/init.c
+++ b/testsuites/sptests/spsimplesched02/init.c
@@ -15,6 +15,8 @@
#include <rtems/score/threadimpl.h>
+const char rtems_test_name[] = "SPSIMPLESCHED 2";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
rtems_task Test_task(rtems_task_argument argument);
@@ -76,7 +78,7 @@ rtems_task Init(
{
rtems_status_code status;
- puts( "\n\n*** SIMPLE SCHEDULER 02 TEST ***" );
+ TEST_BEGIN();
status = _Objects_Name_to_id_u32(
&_Thread_Internal_information,
@@ -134,7 +136,7 @@ rtems_task Init(
ObtainRelease( true );
/* End the Test */
- puts( "*** END OF SIMPLE SCHEDULER 02 TEST ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -147,6 +149,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 3
#define CONFIGURE_MAXIMUM_SEMAPHORES 2
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)