41#include <rtems/testopts.h>
43static char buffer[ 512 ];
45static const T_action actions[] = {
52 .buf_size =
sizeof( buffer ),
54 .verbosity = RTEMS_TEST_VERBOSITY,
56 .allocate = T_memory_allocate,
57 .deallocate = T_memory_deallocate,
58 .action_count = T_ARRAY_SIZE( actions ),
62#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
64#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 0
66#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
68#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
76 exit_code = T_main( &test_config );
78 if ( exit_code == 0 ) {
This header file provides the kernel character input/output support API.
#define RTEMS_NO_RETURN
Tells the compiler in a function declaration that this function does not return.
Definition: basedefs.h:386
void rtems_put_char(int c, void *unused)
Puts the character using rtems_putc()
Definition: rtems_put_char.c:42
@ RTEMS_FATAL_SOURCE_EXIT
Fatal source of exit().
Definition: interr.h:100
const char rtems_test_name[]
Each test must define a test name string.
Definition: init.c:6903
int rtems_test_begin(const char *name, const RTEMS_TEST_STATE state)
Prints a begin of test message using printf().
Definition: testbeginend.c:61
int rtems_test_end(const char *name)
Prints an end of test message using printf().
Definition: testbeginend.c:98
This header file defines the RTEMS Classic API.
This header file provides interfaces of the RTEMS Test Support.
This header file provides interfaces of the RTEMS Test Framework.