Changeset 7ab11c0 in rtems for testsuites/samples/unlimited/test1.c
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.