summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfatal_support
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2010-07-07 09:11:25 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2010-07-07 09:11:25 +0000
commit190f165bf20f9d4ef389a76d1d3ee9937b09b770 (patch)
treee5683726047206199083413587388b007f54fd01 /testsuites/psxtests/psxfatal_support
parent2010-07-08 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-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')
-rw-r--r--testsuites/psxtests/psxfatal_support/init.c10
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();
}