diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-07 09:11:25 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-07 09:11:25 +0000 |
commit | 190f165bf20f9d4ef389a76d1d3ee9937b09b770 (patch) | |
tree | e5683726047206199083413587388b007f54fd01 /testsuites/psxtests/psxfatal_support/init.c | |
parent | 2010-07-08 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-190f165bf20f9d4ef389a76d1d3ee9937b09b770.tar.bz2 |
2010-07-07 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* psxfatal_support/init.c: Print end of test message in case of
success. Stop multitasking in the fatal error extension.
* psxfatal01/psxfatal01.scn, psxfatal02/psxfatal02.scn: Update.
Diffstat (limited to 'testsuites/psxtests/psxfatal_support/init.c')
-rw-r--r-- | testsuites/psxtests/psxfatal_support/init.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxfatal_support/init.c b/testsuites/psxtests/psxfatal_support/init.c index a14a1dd398..23973591a4 100644 --- a/testsuites/psxtests/psxfatal_support/init.c +++ b/testsuites/psxtests/psxfatal_support/init.c @@ -150,6 +150,14 @@ void Fatal_extension( printk( ")\n" ); } - /* return and let the CPU halt */ + if ( + source == FATAL_ERROR_EXPECTED_SOURCE + && is_internal == FATAL_ERROR_EXPECTED_IS_INTERNAL + && error == FATAL_ERROR_EXPECTED_ERROR + ) { + printk( "*** END OF TEST ***\n" ); + } + + _Thread_Stop_multitasking(); } |