Changeset dcb1407d in rtems


Ignore:
Timestamp:
Oct 14, 2009, 9:34:15 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
c54e6f5
Parents:
881db0eb
Message:

2009-10-14 Joel Sherrill <joel.sherrill@…>

  • tmck/task1.c: Ignore numbers that are too large but keep going -- do not abort.
Location:
testsuites/tmtests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/tmtests/ChangeLog

    r881db0eb rdcb1407d  
     12009-10-14      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * tmck/task1.c: Ignore numbers that are too large but keep going -- do
     4        not abort.
     5
    162009-10-14      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • testsuites/tmtests/tmck/task1.c

    r881db0eb rdcb1407d  
    148148    Distribution[ index ] = 0;
    149149
    150   for ( index = 1 ; index <= OPERATION_COUNT ; index++ ) {
     150  for ( index = 1 ; index <= OPERATION_COUNT ; ) {
    151151    benchmark_timer_initialize();
    152152    end_time = benchmark_timer_read();
     
    157157       */
    158158      printf( "TOO LONG (%d) at index %d!!!\n", end_time, index );
    159       rtems_test_exit( 1 );
     159      continue;
    160160    }
    161     else
    162       Distribution[ end_time ]++;
     161    Distribution[ end_time ]++;
     162    index++;
    163163  }
    164164
Note: See TracChangeset for help on using the changeset viewer.