diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:21 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:21 +0100 |
commit | 6c0301daad418d362f71eaa7e5c4b6a2d948fc50 (patch) | |
tree | d08b9e09d3c69ca35f96c9f1eeff8eb244df92ed /testsuites/sptests/spfatal_support/init.c | |
parent | tests/psxtests: Use <rtems/test.h> (diff) | |
download | rtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2 |
tests/sptests: Use <rtems/test.h>
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(); } } |