summaryrefslogtreecommitdiffstats
path: root/testsuite/usb01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/usb01/init.c')
-rw-r--r--testsuite/usb01/init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/usb01/init.c b/testsuite/usb01/init.c
index 974125ab..438a0541 100644
--- a/testsuite/usb01/init.c
+++ b/testsuite/usb01/init.c
@@ -38,6 +38,7 @@
#include <rtems/media.h>
#include <rtems/shell.h>
#include <rtems/bsd/bsd.h>
+#include <rtems/test.h>
#define TEST_NAME "LIBBSD USB 1"
@@ -88,7 +89,7 @@ Init(rtems_task_argument arg)
rtems_status_code sc;
(void) arg;
- puts( "*** " TEST_NAME " TEST ***" );
+ rtems_test_begin(TEST_NAME, TEST_STATE);
sc = rtems_bdbuf_init();
assert(sc == RTEMS_SUCCESSFUL);
@@ -114,6 +115,8 @@ Init(rtems_task_argument arg)
false, true, NULL);
assert(sc == RTEMS_SUCCESSFUL);
+ rtems_test_end(TEST_NAME);
+
exit(0);
}