diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-10 16:31:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 09:17:36 +0100 |
commit | 9391f6d6637c752046cdfd89ae2eeea147496e44 (patch) | |
tree | fe6ad09c222cdf0489414d4a5a644b10845de333 /testsuites/samples/capture/init.c | |
parent | sapi: Add <rtems/test.h> (diff) | |
download | rtems-9391f6d6637c752046cdfd89ae2eeea147496e44.tar.bz2 |
tests/samples: Use <rtems/test.h>
Diffstat (limited to 'testsuites/samples/capture/init.c')
-rw-r--r-- | testsuites/samples/capture/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/samples/capture/init.c b/testsuites/samples/capture/init.c index 67f87dd9d0..40562f4d40 100644 --- a/testsuites/samples/capture/init.c +++ b/testsuites/samples/capture/init.c @@ -28,6 +28,8 @@ rtems_task Init(rtems_task_argument argument); static void notification(int fd, int seconds_remaining, void *arg); #endif +const char rtems_test_name[] = "CAPTURE ENGINE"; + volatile int can_proceed = 1; #if !BSP_SMALL_MEMORY @@ -51,7 +53,7 @@ rtems_task Init( rtems_task_priority old_priority; rtems_mode old_mode; - puts( "\n\n*** TEST CAPTURE ENGINE ***" ); + rtems_test_begin(); status = rtems_shell_wait_for_input( STDIN_FILENO, @@ -78,7 +80,7 @@ rtems_task Init( rtems_task_delete (RTEMS_SELF); } else { - puts( "*** END OF TEST CAPTURE ENGINE ***" ); + rtems_test_end(); exit( 0 ); } |