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

@@ -24,6 +24,8 @@
#include "termios_testdriver_intr.h"
#include "tmacros.h"
const char rtems_test_name[] = "UID 1";
#define UID_MESSAGE_COUNT 10
/* forward declarations to avoid warnings */
@@ -101,7 +103,7 @@ rtems_task Init(
)
{
printf( "\n\n*** UID01 TEST ***\n" );
TEST_BEGIN();
open_it();
register_it();
@@ -115,7 +117,7 @@ rtems_task Init(
receive_uid_message();
close_it();
printf( "*** END OF UID01 TEST ***\n" );
TEST_END();
rtems_test_exit( 0 );
}
@@ -146,6 +148,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