forked from Imagelibrary/rtems
- 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.
22 lines
343 B
C
22 lines
343 B
C
/*
|
|
* Support for running the test output through a buffer
|
|
*/
|
|
|
|
#ifndef __BUFFER_TEST_IO_h
|
|
#define __BUFFER_TEST_IO_h
|
|
|
|
#include <rtems/test.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define TEST_BEGIN() rtems_test_begin(rtems_test_name, TEST_STATE)
|
|
#define TEST_END() rtems_test_end(rtems_test_name)
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif
|