diff options
Diffstat (limited to 'testsuites/tmtests/tmck/task1.c')
-rw-r--r-- | testsuites/tmtests/tmck/task1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/tmtests/tmck/task1.c b/testsuites/tmtests/tmck/task1.c index 8650b96051..ee93c35274 100644 --- a/testsuites/tmtests/tmck/task1.c +++ b/testsuites/tmtests/tmck/task1.c @@ -147,7 +147,7 @@ void check_read_timer() for ( index = 1 ; index <= MAXIMUM_DISTRIBUTION ; index++ ) Distribution[ index ] = 0; - for ( index = 1 ; index <= OPERATION_COUNT ; index++ ) { + for ( index = 1 ; index <= OPERATION_COUNT ; ) { benchmark_timer_initialize(); end_time = benchmark_timer_read(); if ( end_time > MAXIMUM_DISTRIBUTION ) { @@ -156,10 +156,10 @@ void check_read_timer() * consider valid for our testing purposes. */ printf( "TOO LONG (%d) at index %d!!!\n", end_time, index ); - rtems_test_exit( 1 ); + continue; } - else - Distribution[ end_time ]++; + Distribution[ end_time ]++; + index++; } printf( "Units may not be in microseconds for this test!!!\n" ); |