Changeset 3d9f688e in rtems for testsuites/samples/unlimited/test1.c
- Timestamp:
- 01/03/03 20:51:34 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ea14663
- Parents:
- 6bd96fc7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/samples/unlimited/test1.c
r6bd96fc7 r3d9f688e 28 28 rtems_status_code result; 29 29 rtems_unsigned32 task_count = 0; 30 rtems_unsigned32 expected_count; 30 31 Objects_Information *the_information; 31 32 … … 46 47 auto_extend = the_information->auto_extend; 47 48 the_information->auto_extend = FALSE; 48 49 expected_count = the_information->inactive; 50 49 51 while (task_count < MAX_TASKS) 50 52 { … … 87 89 printf( "\nMAX_TASKS too small for work-space size, please make larger !!\n\n" ); 88 90 89 if (task_count != (TASK_ALLOCATION_SIZE - 1)) {91 if (task_count != expected_count) { 90 92 printf( " FAIL1 : the number of tasks does not equal the expected size -\n" 91 93 " task created = %i, required number = %i\n", … … 100 102 printf( " TEST1 : completed\n" ); 101 103 } 102 103 104 105 106
Note: See TracChangeset
for help on using the changeset viewer.