5
Last change
on this file since c59479f was
e6df806,
checked in by Chris Johns <chrisj@…>, on 11/08/17 at 02:27:25
|
tests: Use ld to map (wrap) printf, puts and putchar to tester functions.
- Remove the macro defines and the need for tmacro.h by remapping the
symbols using ld's wrap option.
- Remove FLUSH_OUTPUT, it was empty.
- Move rtems_test_exit to libmisc/testsupport as a function.
Update #3199.
|
-
Property mode set to
100644
|
File size:
343 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Support for running the test output through a buffer |
---|
3 | */ |
---|
4 | |
---|
5 | #ifndef __BUFFER_TEST_IO_h |
---|
6 | #define __BUFFER_TEST_IO_h |
---|
7 | |
---|
8 | #include <rtems/test.h> |
---|
9 | |
---|
10 | #ifdef __cplusplus |
---|
11 | extern "C" { |
---|
12 | #endif |
---|
13 | |
---|
14 | #define TEST_BEGIN() rtems_test_begin(rtems_test_name, TEST_STATE) |
---|
15 | #define TEST_END() rtems_test_end(rtems_test_name) |
---|
16 | |
---|
17 | #ifdef __cplusplus |
---|
18 | }; |
---|
19 | #endif |
---|
20 | |
---|
21 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.