From 89be2af266b40df394daca6b8077c8cb21c31e67 Mon Sep 17 00:00:00 2001 From: "Moyano, Gabriel" Date: Tue, 31 Mar 2020 10:57:54 +0200 Subject: testsuite: Using RTEMS tester functions at beginning and at the end of tests puts() was replaced with rtems_test_begin() and rtems_test_end() --- testsuite/usb01/init.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'testsuite/usb01/init.c') 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 #include #include +#include #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); } -- cgit v1.2.3