mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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:
@@ -1,3 +1,9 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2009-11-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2009-11-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* tmoverhd/testtask.c: Apply RTEMS_GCC_NOWARN_USED.
|
* tmoverhd/testtask.c: Apply RTEMS_GCC_NOWARN_USED.
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
#define CONFIGURE_INIT
|
#define CONFIGURE_INIT
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
rtems_device_major_number _STUB_major = 1;
|
rtems_device_major_number _STUB_major = 1;
|
||||||
|
|
||||||
@@ -160,7 +159,7 @@ rtems_task Task_1(
|
|||||||
|
|
||||||
buffer_count++;
|
buffer_count++;
|
||||||
|
|
||||||
assert( buffer_count < PARTITION_BUFFER_POINTERS );
|
rtems_test_assert( buffer_count < PARTITION_BUFFER_POINTERS );
|
||||||
}
|
}
|
||||||
|
|
||||||
benchmark_timer_initialize();
|
benchmark_timer_initialize();
|
||||||
|
|||||||
Reference in New Issue
Block a user