diff options
Diffstat (limited to 'testsuites/libtests/exit01/init.c')
-rw-r--r-- | testsuites/libtests/exit01/init.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/testsuites/libtests/exit01/init.c b/testsuites/libtests/exit01/init.c index f07dc2a72c..b237ee5c3b 100644 --- a/testsuites/libtests/exit01/init.c +++ b/testsuites/libtests/exit01/init.c @@ -22,6 +22,9 @@ #include <assert.h> #include <rtems.h> +#include <rtems/test.h> + +const char rtems_test_name[] = "EXIT 1"; #define EXIT_STATUS 123 @@ -57,7 +60,7 @@ static void fatal_extension( && error == EXIT_STATUS && counter == 3 ) { - printk("*** END OF TEST EXIT 1 ***\n"); + rtems_test_endk(); } } @@ -82,7 +85,7 @@ static void Init(rtems_task_argument arg) rtems_status_code sc; rtems_id id; - printk("\n\n*** TEST EXIT 1 ***\n"); + rtems_test_begink(); sc = rtems_task_create( rtems_build_name('E', 'X', 'I', 'T'), @@ -106,7 +109,9 @@ static void Init(rtems_task_argument arg) #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM -#define CONFIGURE_INITIAL_EXTENSIONS { .fatal = fatal_extension } +#define CONFIGURE_INITIAL_EXTENSIONS \ + { .fatal = fatal_extension }, \ + RTEMS_TEST_INITIAL_EXTENSION #define CONFIGURE_MAXIMUM_TASKS 2 |