summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/mouse01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/mouse01/init.c')
-rw-r--r--testsuites/libtests/mouse01/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/libtests/mouse01/init.c b/testsuites/libtests/mouse01/init.c
index 78010f1bd6..463007bc81 100644
--- a/testsuites/libtests/mouse01/init.c
+++ b/testsuites/libtests/mouse01/init.c
@@ -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