Changeset 7ab11c0 in rtems
- Timestamp:
- 01/03/03 22:55:54 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 0b178f04
- Parents:
- 0f9e7f96
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/tests/samples/ChangeLog
r0f9e7f96 r7ab11c0 1 2003-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 1 6 2002-10-31 Chris Johns <ccj@acm.org> 2 7 -
c/src/tests/samples/unlimited/system.h
r0f9e7f96 r7ab11c0 47 47 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE 48 48 49 #define TASK_ALLOCATION_SIZE \ 50 (rtems_configuration_get_rtems_api_configuration()->maximum_tasks & \ 51 ~RTEMS_UNLIMITED_OBJECTS) 49 #define TASK_ALLOCATION_SIZE (5) 52 50 #define CONFIGURE_MAXIMUM_TASKS rtems_resource_unlimited(TASK_ALLOCATION_SIZE) 53 51 #define CONFIGURE_EXTRA_TASK_STACKS (62 * RTEMS_MINIMUM_STACK_SIZE) -
c/src/tests/samples/unlimited/test1.c
r0f9e7f96 r7ab11c0 28 28 rtems_status_code result; 29 29 rtems_unsigned32 task_count = 0; 30 rtems_unsigned32 expected_count;31 30 Objects_Information *the_information; 32 31 … … 47 46 auto_extend = the_information->auto_extend; 48 47 the_information->auto_extend = FALSE; 49 expected_count = the_information->inactive; 50 48 51 49 while (task_count < MAX_TASKS) 52 50 { … … 89 87 printf( "\nMAX_TASKS too small for work-space size, please make larger !!\n\n" ); 90 88 91 if (task_count != expected_count) {89 if (task_count != (TASK_ALLOCATION_SIZE - 1)) { 92 90 printf( " FAIL1 : the number of tasks does not equal the expected size -\n" 93 91 " task created = %i, required number = %i\n", … … 102 100 printf( " TEST1 : completed\n" ); 103 101 } 102 103 104 105 106 -
testsuites/samples/ChangeLog
r0f9e7f96 r7ab11c0 1 2003-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 1 6 2002-10-31 Chris Johns <ccj@acm.org> 2 7 -
testsuites/samples/unlimited/system.h
r0f9e7f96 r7ab11c0 47 47 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE 48 48 49 #define TASK_ALLOCATION_SIZE \ 50 (rtems_configuration_get_rtems_api_configuration()->maximum_tasks & \ 51 ~RTEMS_UNLIMITED_OBJECTS) 49 #define TASK_ALLOCATION_SIZE (5) 52 50 #define CONFIGURE_MAXIMUM_TASKS rtems_resource_unlimited(TASK_ALLOCATION_SIZE) 53 51 #define CONFIGURE_EXTRA_TASK_STACKS (62 * RTEMS_MINIMUM_STACK_SIZE) -
testsuites/samples/unlimited/test1.c
r0f9e7f96 r7ab11c0 28 28 rtems_status_code result; 29 29 rtems_unsigned32 task_count = 0; 30 rtems_unsigned32 expected_count;31 30 Objects_Information *the_information; 32 31 … … 47 46 auto_extend = the_information->auto_extend; 48 47 the_information->auto_extend = FALSE; 49 expected_count = the_information->inactive; 50 48 51 49 while (task_count < MAX_TASKS) 52 50 { … … 89 87 printf( "\nMAX_TASKS too small for work-space size, please make larger !!\n\n" ); 90 88 91 if (task_count != expected_count) {89 if (task_count != (TASK_ALLOCATION_SIZE - 1)) { 92 90 printf( " FAIL1 : the number of tasks does not equal the expected size -\n" 93 91 " task created = %i, required number = %i\n", … … 102 100 printf( " TEST1 : completed\n" ); 103 101 } 102 103 104 105 106
Note: See TracChangeset
for help on using the changeset viewer.