summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/termios03
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-17 08:10:40 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-20 09:10:26 +0100
commitf8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 (patch)
tree851dc4a6921d6cc7936aefa6343c516fff452dd8 /testsuites/libtests/termios03
parenttests/fstests: Remove duplicate begin/end messages (diff)
downloadrtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/termios03')
-rw-r--r--testsuites/libtests/termios03/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/libtests/termios03/init.c b/testsuites/libtests/termios03/init.c
index bc33feb42e..441adff1d1 100644
--- a/testsuites/libtests/termios03/init.c
+++ b/testsuites/libtests/termios03/init.c
@@ -22,6 +22,8 @@
#include <termios.h>
#include <rtems/dumpbuf.h>
+const char rtems_test_name[] = "TERMIOS 3";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
void write_helper(int fd, const char *c);
@@ -122,7 +124,7 @@ rtems_task Init(
rtems_task_argument argument
)
{
- puts( "\n\n*** TEST TERMIOS03 ***" );
+ TEST_BEGIN();
open_it();
@@ -147,7 +149,7 @@ rtems_task Init(
puts( "" );
close_it();
- puts( "*** END OF TEST TERMIOS03 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -168,6 +170,8 @@ rtems_task Init(
/* we need to be able to open the test device */
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT