summaryrefslogtreecommitdiffstats
path: root/testsuite/evdev01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/evdev01/init.c')
-rw-r--r--testsuite/evdev01/init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/evdev01/init.c b/testsuite/evdev01/init.c
index 935596aa..7e55d727 100644
--- a/testsuite/evdev01/init.c
+++ b/testsuite/evdev01/init.c
@@ -39,6 +39,7 @@
#include <rtems/console.h>
#include <rtems/shell.h>
#include <rtems/bsd/bsd.h>
+#include <rtems/test.h>
#define TEST_NAME "LIBBSD EVDEV"
@@ -563,7 +564,7 @@ Init(rtems_task_argument arg)
struct evdev_test_message msg;
(void) arg;
- puts("*** " TEST_NAME " TEST ***");
+ rtems_test_begin(TEST_NAME, TEST_STATE);
sc = rtems_semaphore_create(
rtems_build_name('E', 'V', 'D', 'S'),
@@ -696,6 +697,8 @@ Init(rtems_task_argument arg)
sc = rtems_semaphore_delete(psema);
assert(sc == RTEMS_SUCCESSFUL);
+ rtems_test_end(TEST_NAME);
+
exit(0);
}