forked from Imagelibrary/rtems
2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm20/task1.c: Use rtems_test_assert() consistently instead of system assert(). rtems_test_assert() is designed to integrate into the RTEMS test suite infrastructure.
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
|
||||
#define CONFIGURE_INIT
|
||||
#include "system.h"
|
||||
#include <assert.h>
|
||||
|
||||
rtems_device_major_number _STUB_major = 1;
|
||||
|
||||
@@ -160,7 +159,7 @@ rtems_task Task_1(
|
||||
|
||||
buffer_count++;
|
||||
|
||||
assert( buffer_count < PARTITION_BUFFER_POINTERS );
|
||||
rtems_test_assert( buffer_count < PARTITION_BUFFER_POINTERS );
|
||||
}
|
||||
|
||||
benchmark_timer_initialize();
|
||||
|
||||
Reference in New Issue
Block a user