From f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 17 Mar 2014 08:10:40 +0100 Subject: tests/libtests: Use --- testsuites/libtests/termios02/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/libtests/termios02') diff --git a/testsuites/libtests/termios02/init.c b/testsuites/libtests/termios02/init.c index e944bca9af..2ff960ec65 100644 --- a/testsuites/libtests/termios02/init.c +++ b/testsuites/libtests/termios02/init.c @@ -16,6 +16,8 @@ #include #include +const char rtems_test_name[] = "TERMIOS 2"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); @@ -28,7 +30,7 @@ rtems_task Init( char *term_name_p; char term_name[32]; - puts( "\n\n*** TERMIOS 02 TEST ***" ); + TEST_BEGIN(); puts( "tcdrain(12) - EBADF" ); sc = tcdrain(12); @@ -136,7 +138,7 @@ rtems_task Init( rtems_test_assert( term_name_p == term_name ); printf( "ctermid ==> %s\n", term_name_p ); - puts( "*** END OF TERMIOS 02 TEST ***" ); + TEST_END(); exit( 0 ); } @@ -148,6 +150,8 @@ rtems_task Init( #define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT -- cgit v1.2.3