diff options
Diffstat (limited to 'testsuites/sptests/spfatal_support/init.c')
-rw-r--r-- | testsuites/sptests/spfatal_support/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/sptests/spfatal_support/init.c b/testsuites/sptests/spfatal_support/init.c index 6a6f3404fa..5f390adcc3 100644 --- a/testsuites/sptests/spfatal_support/init.c +++ b/testsuites/sptests/spfatal_support/init.c @@ -14,13 +14,15 @@ #define CONFIGURE_INIT #include "system.h" +const char rtems_test_name[] = FATAL_ERROR_TEST_NAME; + static void print_test_begin_message(void) { static bool done = false; if (!done) { done = true; - printk( "\n\n\n*** TEST FATAL " FATAL_ERROR_TEST_NAME " ***\n" ); + rtems_test_begink(); } } @@ -105,7 +107,7 @@ void Fatal_extension( && is_internal == FATAL_ERROR_EXPECTED_IS_INTERNAL && is_expected_error( error ) ) { - printk( "*** END OF TEST FATAL " FATAL_ERROR_TEST_NAME " ***\n" ); + rtems_test_endk(); } } |