From e0f75b1573e89ddf695792e2ff032523116e9f8d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 30 Mar 2004 19:17:34 +0000 Subject: 2004-03-30 David Querbach PR 597/tests * tm02/system.h, tm03/system.h, tm04/system.h, tm05/system.h, tm06/system.h, tm07/system.h, tm08/system.h, tm10/system.h, tm11/system.h, tm12/system.h, tm13/system.h, tm14/system.h, tm15/system.h, tm16/system.h, tm17/system.h, tm18/system.h, tm19/system.h, tm21/system.h, tm22/system.h, tm23/system.h, tm24/system.h, tm25/system.h, tm26/system.h, tm27/system.h, tm27/task1.c, tm29/system.h: The actual workspace needed by the tmtests depends on OPERATION_COUNT, but the definitions of CONFIGURE_MAXIMIM_xxx in the their system.h files do not reflect this. This results in unnecessary memory exhaustion on small-memory systems such as the SS555. --- testsuites/tmtests/tm13/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/tmtests/tm13') diff --git a/testsuites/tmtests/tm13/system.h b/testsuites/tmtests/tm13/system.h index 27e198dd59..f1dd05920a 100644 --- a/testsuites/tmtests/tm13/system.h +++ b/testsuites/tmtests/tm13/system.h @@ -29,7 +29,7 @@ rtems_task Init( #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER -#define CONFIGURE_MAXIMUM_TASKS 111 +#define CONFIGURE_MAXIMUM_TASKS (3 + OPERATION_COUNT) #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 #define CONFIGURE_TICKS_PER_TIMESLICE 0 -- cgit v1.2.3