summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/capture
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/samples/capture')
-rw-r--r--testsuites/samples/capture/init.c6
-rw-r--r--testsuites/samples/capture/system.h3
2 files changed, 7 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 );
}
diff --git a/testsuites/samples/capture/system.h b/testsuites/samples/capture/system.h
index cbc61374db..224800abce 100644
--- a/testsuites/samples/capture/system.h
+++ b/testsuites/samples/capture/system.h
@@ -12,6 +12,7 @@
*/
#include <rtems.h>
+#include <rtems/test.h>
/* functions */
@@ -49,6 +50,8 @@ extern void setup_tasks_to_watch(void);
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS (5)
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#include <rtems/confdefs.h>
/*