diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-08 16:41:30 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-09 08:47:51 +0100 |
commit | b6606e8d9911d1487dbf8338447e7560d09ff48c (patch) | |
tree | 0d6ed5ed5e6dcd9284e8ec3e6a6d4c68764aea36 /testsuites/psxtests/psxfatal_support/init.c | |
parent | cdtest: Print proper begin/end of test messages (diff) | |
download | rtems-b6606e8d9911d1487dbf8338447e7560d09ff48c.tar.bz2 |
score: Remove fatal is internal indicator
The fatal is internal indicator is redundant since the fatal source and
error code uniquely identify a fatal error. Keep the fatal user
extension is internal parameter for backward compatibility and set it to
false always.
Update #2825.
Diffstat (limited to 'testsuites/psxtests/psxfatal_support/init.c')
-rw-r--r-- | testsuites/psxtests/psxfatal_support/init.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/testsuites/psxtests/psxfatal_support/init.c b/testsuites/psxtests/psxfatal_support/init.c index 0f995dc7f7..bc48b95cb0 100644 --- a/testsuites/psxtests/psxfatal_support/init.c +++ b/testsuites/psxtests/psxfatal_support/init.c @@ -77,13 +77,8 @@ void Fatal_extension( printk( ")\n" ); } - if ( is_internal != FATAL_ERROR_EXPECTED_IS_INTERNAL ) - { - if ( is_internal == TRUE ) - printk( "ERROR==> Fatal Extension is internal set to TRUE expected FALSE\n" ); - else - printk( "ERROR==> Fatal Extension is internal set to FALSE expected TRUE\n" ); - } + if ( is_internal ) + printk( "ERROR==> Fatal Extension is internal set to true expected false\n" ); if ( error != FATAL_ERROR_EXPECTED_ERROR ) { printk( "ERROR==> Fatal Error Expected ("); @@ -95,7 +90,7 @@ void Fatal_extension( if ( source == FATAL_ERROR_EXPECTED_SOURCE - && is_internal == FATAL_ERROR_EXPECTED_IS_INTERNAL + && !is_internal && error == FATAL_ERROR_EXPECTED_ERROR ) { TEST_END(); |