Changeset 7ab11c0 in rtems


Ignore:
Timestamp:
01/03/03 22:55:54 (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0b178f04
Parents:
0f9e7f96
Message:

2003-01-03 Joel Sherrill <joel@…>

  • unlimited/system.h, unlimited/test1.c: Backed off previous modification as it does not compile.
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/samples/ChangeLog

    r0f9e7f96 r7ab11c0  
     12003-01-03      Joel Sherrill <joel@OARcorp.com>
     2
     3        * unlimited/system.h, unlimited/test1.c: Backed off previous
     4        modification as it does not compile.
     5
    162002-10-31      Chris Johns <ccj@acm.org>
    27
  • c/src/tests/samples/unlimited/system.h

    r0f9e7f96 r7ab11c0  
    4747#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    4848
    49 #define TASK_ALLOCATION_SIZE \
    50     (rtems_configuration_get_rtems_api_configuration()->maximum_tasks & \
    51                                     ~RTEMS_UNLIMITED_OBJECTS)
     49#define TASK_ALLOCATION_SIZE     (5)
    5250#define CONFIGURE_MAXIMUM_TASKS  rtems_resource_unlimited(TASK_ALLOCATION_SIZE)
    5351#define CONFIGURE_EXTRA_TASK_STACKS (62 * RTEMS_MINIMUM_STACK_SIZE)
  • c/src/tests/samples/unlimited/test1.c

    r0f9e7f96 r7ab11c0  
    2828  rtems_status_code result;
    2929  rtems_unsigned32  task_count = 0;
    30   rtems_unsigned32  expected_count;
    3130  Objects_Information *the_information;
    3231 
     
    4746  auto_extend = the_information->auto_extend;
    4847  the_information->auto_extend = FALSE;
    49   expected_count = the_information->inactive;
    50 
     48 
    5149  while (task_count < MAX_TASKS)
    5250  {
     
    8987    printf( "\nMAX_TASKS too small for work-space size, please make larger !!\n\n" );
    9088   
    91   if (task_count != expected_count) {
     89  if (task_count != (TASK_ALLOCATION_SIZE - 1)) {
    9290    printf( " FAIL1 : the number of tasks does not equal the expected size -\n"
    9391            "           task created = %i, required number = %i\n",
     
    102100  printf( " TEST1 : completed\n" );
    103101}
     102
     103
     104
     105
     106
  • testsuites/samples/ChangeLog

    r0f9e7f96 r7ab11c0  
     12003-01-03      Joel Sherrill <joel@OARcorp.com>
     2
     3        * unlimited/system.h, unlimited/test1.c: Backed off previous
     4        modification as it does not compile.
     5
    162002-10-31      Chris Johns <ccj@acm.org>
    27
  • testsuites/samples/unlimited/system.h

    r0f9e7f96 r7ab11c0  
    4747#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    4848
    49 #define TASK_ALLOCATION_SIZE \
    50     (rtems_configuration_get_rtems_api_configuration()->maximum_tasks & \
    51                                     ~RTEMS_UNLIMITED_OBJECTS)
     49#define TASK_ALLOCATION_SIZE     (5)
    5250#define CONFIGURE_MAXIMUM_TASKS  rtems_resource_unlimited(TASK_ALLOCATION_SIZE)
    5351#define CONFIGURE_EXTRA_TASK_STACKS (62 * RTEMS_MINIMUM_STACK_SIZE)
  • testsuites/samples/unlimited/test1.c

    r0f9e7f96 r7ab11c0  
    2828  rtems_status_code result;
    2929  rtems_unsigned32  task_count = 0;
    30   rtems_unsigned32  expected_count;
    3130  Objects_Information *the_information;
    3231 
     
    4746  auto_extend = the_information->auto_extend;
    4847  the_information->auto_extend = FALSE;
    49   expected_count = the_information->inactive;
    50 
     48 
    5149  while (task_count < MAX_TASKS)
    5250  {
     
    8987    printf( "\nMAX_TASKS too small for work-space size, please make larger !!\n\n" );
    9088   
    91   if (task_count != expected_count) {
     89  if (task_count != (TASK_ALLOCATION_SIZE - 1)) {
    9290    printf( " FAIL1 : the number of tasks does not equal the expected size -\n"
    9391            "           task created = %i, required number = %i\n",
     
    102100  printf( " TEST1 : completed\n" );
    103101}
     102
     103
     104
     105
     106
Note: See TracChangeset for help on using the changeset viewer.