diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 08:10:40 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-20 09:10:26 +0100 |
commit | f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 (patch) | |
tree | 851dc4a6921d6cc7936aefa6343c516fff452dd8 /testsuites/libtests/monitor02 | |
parent | tests/fstests: Remove duplicate begin/end messages (diff) | |
download | rtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2 |
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/monitor02')
-rw-r--r-- | testsuites/libtests/monitor02/init.c | 7 | ||||
-rw-r--r-- | testsuites/libtests/monitor02/system.h | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/libtests/monitor02/init.c b/testsuites/libtests/monitor02/init.c index 2a5074536e..a3db490462 100644 --- a/testsuites/libtests/monitor02/init.c +++ b/testsuites/libtests/monitor02/init.c @@ -21,6 +21,9 @@ #include <rtems/shell.h> #include <rtems/shellconfig.h> + +const char rtems_test_name[] = "MONITOR 2"; + #define MAX_ARGS 128 char *Commands[] = { @@ -38,7 +41,7 @@ rtems_task Init( char *argv[MAX_ARGS]; char tmp[256]; - puts( "\n*** START OF MONITOR02 ***\n"); + TEST_BEGIN(); for (i=0; i < MAX_ARGS && Commands[i] ; i++) { strcpy( tmp, Commands[i] ); @@ -47,7 +50,7 @@ rtems_task Init( rtems_shell_main_monitor(argc, argv); } } - puts( "\n*** END OF MONITOR02 ***\n"); + TEST_END(); #else puts( "TARGET MEMORY TOO SMALL TO RUN\n\n"); #endif diff --git a/testsuites/libtests/monitor02/system.h b/testsuites/libtests/monitor02/system.h index 882663730c..36814ac74b 100644 --- a/testsuites/libtests/monitor02/system.h +++ b/testsuites/libtests/monitor02/system.h @@ -41,6 +41,8 @@ void Get_all_counters( void ); #define CONFIGURE_INIT_TASK_PRIORITY 10 #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM |