summaryrefslogtreecommitdiffstats
path: root/testsuite/usbkbd01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/usbkbd01/init.c')
-rw-r--r--testsuite/usbkbd01/init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/usbkbd01/init.c b/testsuite/usbkbd01/init.c
index 2322a49c..d7927a6e 100644
--- a/testsuite/usbkbd01/init.c
+++ b/testsuite/usbkbd01/init.c
@@ -34,6 +34,7 @@
#include <rtems/console.h>
#include <rtems/shell.h>
#include <rtems/bsd/bsd.h>
+#include <rtems/test.h>
#define TEST_NAME "LIBBSD USB KEYBOARD"
@@ -141,7 +142,7 @@ Init(rtems_task_argument arg)
struct usb_test_message msg;
(void) arg;
- puts("*** " TEST_NAME " TEST ***");
+ rtems_test_begin(TEST_NAME, TEST_STATE);
sc = rtems_message_queue_create(
rtems_build_name ('M', 'U', 'O', 'P'),
@@ -209,6 +210,8 @@ Init(rtems_task_argument arg)
sc = rtems_message_queue_delete(omid);
assert(sc == RTEMS_SUCCESSFUL);
+ rtems_test_end(TEST_NAME);
+
exit(0);
}