From e22e30858e34f5faacaab7e466352e54bf79479c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 19 May 2000 19:06:24 +0000 Subject: [PATCH] Use minimum stack size. --- c/src/tests/sptests/sp28/init.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/c/src/tests/sptests/sp28/init.c b/c/src/tests/sptests/sp28/init.c index f7df310d5c..eb02a64ca3 100644 --- a/c/src/tests/sptests/sp28/init.c +++ b/c/src/tests/sptests/sp28/init.c @@ -81,6 +81,7 @@ subtask (rtems_task_argument arg) while (nRunning) rtems_task_wake_after (0); printf ("Task variables test complete.\n"); + puts ("*** END OF TEST SP28 ***" ); exit (0); } @@ -92,7 +93,7 @@ starttask (int arg) sc = rtems_task_create (rtems_build_name ('S', 'R', 'V', arg + 'A'), 100, - 10000, + RTEMS_MINIMUM_STACK_SIZE, RTEMS_PREEMPT|RTEMS_NO_TIMESLICE|RTEMS_NO_ASR|RTEMS_INTERRUPT_LEVEL(0), RTEMS_NO_FLOATING_POINT|RTEMS_LOCAL, &tid); @@ -110,8 +111,10 @@ starttask (int arg) rtems_task Init (rtems_task_argument ignored) { - printf ("Task variables test begins. Any output between\n"); - printf ("this line and the `Task variables test complete' line indicates an error.\n"); + + puts ("*** START OF TEST SP28 ***" ); + puts ("Task variables test begins. Any output between\n"); + puts ("this line and the `Task variables test complete' line indicates an error.\n"); starttask (1); starttask (2); starttask (3);