40 #include <rtems/test-info.h> 41 #include <rtems/test.h> 43 static char buffer[ 512 ];
45 static const T_action actions[] = {
48 T_check_file_descriptors,
49 T_check_rtems_barriers,
50 T_check_rtems_extensions,
51 T_check_rtems_message_queues,
52 T_check_rtems_partitions,
53 T_check_rtems_periods,
54 T_check_rtems_regions,
55 T_check_rtems_semaphores,
64 .buf_size =
sizeof( buffer ),
65 .putchar = T_putchar_default,
66 .verbosity = T_VERBOSE,
68 .action_count = T_ARRAY_SIZE( actions ),
82 if ( T_main( &config ) == 0 ) {
const char rtems_test_name[]
Each test must define a test name string.
RTEMS_TEST_STATE
Test states.
int rtems_test_begin(const char *name, const RTEMS_TEST_STATE state)
Prints a begin of test message using printf().
CPU_Uint32ptr rtems_task_argument
This type is used to represent task argument values.
int rtems_test_end(const char *name)
Prints an end of test message using printf().
void rtems_test_run(rtems_task_argument arg, const RTEMS_TEST_STATE state)
Runs the test cases of the RTEMS Test Framework using a default configuration in the context of a tas...
void rtems_test_exit(int status) RTEMS_NO_RETURN
Exit the test without calling exit() since it closes stdin, etc and pulls in stdio code...