tests/libtests: Use <rtems/test.h>

This commit is contained in:
Sebastian Huber
2014-03-17 08:10:40 +01:00
parent 802d3ba712
commit f8b2eb03f7
82 changed files with 449 additions and 146 deletions

View File

@@ -25,6 +25,8 @@
#include "termios_testdriver_intr.h"
#include "tmacros.h"
const char rtems_test_name[] = "MOUSE 1";
#define UID_MESSAGE_COUNT 10
/* forward declarations to avoid warnings */
@@ -130,7 +132,7 @@ rtems_task Init(
{
bool more_data;
printf( "\n\n*** %s TEST ***\n", Mouse_Type_Long );
TEST_BEGIN();
open_it();
register_it();
@@ -143,7 +145,7 @@ rtems_task Init(
receive_uid_message();
} while (more_data);
close_it();
printf( "*** END OF %s TEST ***\n", Mouse_Type_Long );
TEST_END();
rtems_test_exit( 0 );
}
@@ -174,6 +176,8 @@ rtems_task Init(
sizeof(struct MW_UID_MESSAGE) \
)
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT