* spfatal13/testcase.h: Fixed test name.
	* spfatal05/testcase.h: Increased wait time for slow hardware.
	* spfatal_support/init.c: Print test name at end of test.
	* spfatal01/spfatal01.scn, spfatal02/spfatal02.scn,
	spfatal03/spfatal03.scn, spfatal04/spfatal04.scn,
	spfatal05/spfatal05.scn, spfatal06/spfatal06.scn,
	spfatal07/spfatal07.scn, spfatal08/spfatal08.scn,
	spfatal09/spfatal09.scn, spfatal10/spfatal10.scn,
	spfatal11/spfatal11.scn, spfatal12/spfatal12.scn,
	spfatal13/spfatal13.scn, spfatal14/spfatal14.scn,
	spfatal15/spfatal15.scn, spfatal16/spfatal16.scn,
	spfatal17/spfatal17.scn, spfatal18/spfatal18.scn,
	spfatal19/spfatal19.scn, spfatal20/spfatal20.scn,
	spfatal21/spfatal21.scn, spfatal22/spfatal22.scn,
	spfatal23/spfatal23.scn, spfatal24/spfatal24.scn,
	spfatal25/spfatal25.scn: Reflect changes from above.
This commit is contained in:
Sebastian Huber
2011-08-22 10:10:56 +00:00
parent eb7deb0133
commit 55658c613f
29 changed files with 47 additions and 28 deletions

View File

@@ -1,3 +1,22 @@
2011-08-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* spfatal13/testcase.h: Fixed test name.
* spfatal05/testcase.h: Increased wait time for slow hardware.
* spfatal_support/init.c: Print test name at end of test.
* spfatal01/spfatal01.scn, spfatal02/spfatal02.scn,
spfatal03/spfatal03.scn, spfatal04/spfatal04.scn,
spfatal05/spfatal05.scn, spfatal06/spfatal06.scn,
spfatal07/spfatal07.scn, spfatal08/spfatal08.scn,
spfatal09/spfatal09.scn, spfatal10/spfatal10.scn,
spfatal11/spfatal11.scn, spfatal12/spfatal12.scn,
spfatal13/spfatal13.scn, spfatal14/spfatal14.scn,
spfatal15/spfatal15.scn, spfatal16/spfatal16.scn,
spfatal17/spfatal17.scn, spfatal18/spfatal18.scn,
spfatal19/spfatal19.scn, spfatal20/spfatal20.scn,
spfatal21/spfatal21.scn, spfatal22/spfatal22.scn,
spfatal23/spfatal23.scn, spfatal24/spfatal24.scn,
spfatal25/spfatal25.scn: Reflect changes from above.
2011-08-22 Sebastian Huber <sebastian.huber@embedded-brains.de> 2011-08-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1899/testing PR 1899/testing

View File

@@ -1,2 +1,2 @@
Fatal error (Classic API Init task create failure) hit Fatal error (Classic API Init task create failure) hit
*** END OF TEST *** *** END OF TEST FATAL 1 ***

View File

@@ -1,2 +1,2 @@
Fatal error (Classic API Init task start failure) hit Fatal error (Classic API Init task start failure) hit
*** END OF TEST *** *** END OF TEST FATAL 2 ***

View File

@@ -2,4 +2,4 @@
Create semaphore S0 Create semaphore S0
Obtain semaphore in dispatching critical section Obtain semaphore in dispatching critical section
Fatal error (Core Mutex obtain in critical section) hit Fatal error (Core Mutex obtain in critical section) hit
*** END OF TEST *** *** END OF TEST FATAL 3 ***

View File

@@ -1,3 +1,3 @@
*** TEST FATAL 4 *** *** TEST FATAL 4 ***
Fatal error (Classic API call rtems_fatal_error_occurred) hit Fatal error (Classic API call rtems_fatal_error_occurred) hit
*** END OF TEST *** *** END OF TEST FATAL 4 ***

View File

@@ -1,3 +1,3 @@
*** TEST FATAL 5 *** *** TEST FATAL 5 ***
Fatal error (Core fall out of a task) hit Fatal error (Core fall out of a task) hit
*** END OF TEST *** *** END OF TEST FATAL 5 ***

View File

@@ -65,7 +65,7 @@ void force_error()
status = rtems_task_start( id, EmptyTask, 0 ); status = rtems_task_start( id, EmptyTask, 0 );
directive_failed( status, "rtems_task_start" ); directive_failed( status, "rtems_task_start" );
status = rtems_task_wake_after( 10 ); status = rtems_task_wake_after( 100 );
directive_failed( status, "rtems_task_wake_after" ); directive_failed( status, "rtems_task_wake_after" );
/* we will not run this far */ /* we will not run this far */

View File

@@ -1,3 +1,3 @@
*** TEST FATAL 6 *** *** TEST FATAL 6 ***
Fatal error (Core initialize with invalid stack hook) hit Fatal error (Core initialize with invalid stack hook) hit
*** END OF TEST *** *** END OF TEST FATAL 6 ***

View File

@@ -1,3 +1,3 @@
*** TEST FATAL 7 *** *** TEST FATAL 7 ***
Fatal error (Core Configuration Invalid ISR stack size) hit Fatal error (Core Configuration Invalid ISR stack size) hit
*** END OF TEST *** *** END OF TEST FATAL 7 ***

View File

@@ -1,3 +1,3 @@
*** TEST FATAL 8 *** *** TEST FATAL 8 ***
Fatal error (Core workspace too small) hit Fatal error (Core workspace too small) hit
*** END OF TEST *** *** END OF TEST FATAL 8 ***

View File

@@ -1,4 +1,4 @@
*** TEST FATAL 9 *** *** TEST FATAL 9 ***
Fatal error (Bad heap address to malloc) hit Fatal error (Bad heap address to malloc) hit
*** END OF TEST *** *** END OF TEST FATAL 9 ***

View File

@@ -1,4 +1,4 @@
*** TEST FATAL 10 *** *** TEST FATAL 10 ***
assertion "forced" failed: file "testsuites/sptests/spfatal10/testcase.h", line 23, function: Init assertion "forced" failed: file "testsuites/sptests/spfatal10/testcase.h", line 23, function: Init
Fatal error (asserting with non-NULL strings...) hit Fatal error (asserting with non-NULL strings...) hit
*** END OF TEST *** *** END OF TEST FATAL 10 ***

View File

@@ -1,4 +1,4 @@
*** TEST FATAL 11 *** *** TEST FATAL 11 ***
assertion "forced" failed: file "testsuites/sptests/spfatal11/testcase.h", line 23 assertion "forced" failed: file "testsuites/sptests/spfatal11/testcase.h", line 23
Fatal error (asserting with non-NULL strings...) hit Fatal error (asserting with non-NULL strings...) hit
*** END OF TEST *** *** END OF TEST FATAL 11 ***

View File

@@ -1,3 +1,3 @@
*** TEST FATAL 12 *** *** TEST FATAL 12 ***
Fatal error (_Heap_Initialize fails during RTEMS initialization) hit Fatal error (_Heap_Initialize fails during RTEMS initialization) hit
*** END OF TEST *** *** END OF TEST FATAL 12 ***

View File

@@ -1,2 +1,2 @@
Fatal error (Configuration of unlimited and maximum of 0) hit Fatal error (Configuration of unlimited and maximum of 0) hit
*** END OF TEST *** *** END OF TEST FATAL 13 ***

View File

@@ -10,7 +10,7 @@
* $Id$ * $Id$
*/ */
#define FATAL_ERROR_TEST_NAME "12" #define FATAL_ERROR_TEST_NAME "13"
#define FATAL_ERROR_DESCRIPTION \ #define FATAL_ERROR_DESCRIPTION \
"Configuration of unlimited and maximum of 0" "Configuration of unlimited and maximum of 0"
#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_CORE #define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_CORE

View File

@@ -1,2 +1,2 @@
Fatal error (fail to open stdout) hit Fatal error (fail to open stdout) hit
*** END OF TEST *** *** END OF TEST FATAL 14 ***

View File

@@ -1,2 +1,2 @@
Fatal error (fail to open stderr) hit Fatal error (fail to open stderr) hit
*** END OF TEST *** *** END OF TEST FATAL 15 ***

View File

@@ -1,2 +1,2 @@
Fatal error (termios sem create #1) hit Fatal error (termios sem create #1) hit
*** END OF TEST *** *** END OF TEST FATAL 16 ***

View File

@@ -1,2 +1,2 @@
Fatal error (termios sem create #2) hit Fatal error (termios sem create #2) hit
*** END OF TEST *** *** END OF TEST FATAL 17 ***

View File

@@ -1,2 +1,2 @@
Fatal error (termios sem create #3) hit Fatal error (termios sem create #3) hit
*** END OF TEST *** *** END OF TEST FATAL 18 ***

View File

@@ -1,2 +1,2 @@
Fatal error (termios sem create #4) hit Fatal error (termios sem create #4) hit
*** END OF TEST *** *** END OF TEST FATAL 19 ***

View File

@@ -1,2 +1,2 @@
Fatal error (rtems_termios_initialize cannot create semaphore) hit Fatal error (rtems_termios_initialize cannot create semaphore) hit
*** END OF TEST *** *** END OF TEST FATAL 20 ***

View File

@@ -1,3 +1,3 @@
*** TEST FATAL FATAL 21 *** *** TEST FATAL FATAL 21 ***
Fatal error (sbrk during init fails) hit Fatal error (sbrk during init fails) hit
*** END OF TEST *** *** END OF TEST FATAL 21 ***

View File

@@ -1,4 +1,4 @@
*** TEST FATAL FATAL 22 *** *** TEST FATAL FATAL 22 ***
Allocate_majority_of_heap: Allocate_majority_of_heap:
Fatal error (libio init out of memory) hit Fatal error (libio init out of memory) hit
*** END OF TEST *** *** END OF TEST FATAL 22 ***

View File

@@ -1,3 +1,3 @@
*** TEST FATAL SHUTDOWN WHEN NOT UP *** *** TEST FATAL SHUTDOWN WHEN NOT UP ***
Fatal error (SHUTDOWN WHEN NOT UP) hit Fatal error (SHUTDOWN WHEN NOT UP) hit
*** END OF TEST *** *** END OF TEST FATAL SHUTDOWN WHEN NOT UP ***

View File

@@ -1,3 +1,3 @@
*** TEST FATAL GXX KEY ADD FAILURE *** *** TEST FATAL GXX KEY ADD FAILURE ***
Fatal error (GXX KEY ADD FAILURE) hit Fatal error (GXX KEY ADD FAILURE) hit
*** END OF TEST *** *** END OF TEST FATAL GXX KEY ADD FAILURE ***

View File

@@ -1,3 +1,3 @@
*** TEST FATAL GXX MUTEX INIT FAILED *** *** TEST FATAL GXX MUTEX INIT FAILED ***
Fatal error (GXX MUTEX INIT FAILED) hit Fatal error (GXX MUTEX INIT FAILED) hit
*** END OF TEST *** *** END OF TEST FATAL GXX MUTEX INIT FAILED ***

View File

@@ -149,7 +149,7 @@ void Fatal_extension(
&& is_internal == FATAL_ERROR_EXPECTED_IS_INTERNAL && is_internal == FATAL_ERROR_EXPECTED_IS_INTERNAL
&& error == FATAL_ERROR_EXPECTED_ERROR && error == FATAL_ERROR_EXPECTED_ERROR
) { ) {
printk( "*** END OF TEST ***\n" ); printk( "*** END OF TEST FATAL " FATAL_ERROR_TEST_NAME " ***\n" );
} }
if ( _System_state_Is_up( _System_state_Get() ) ) if ( _System_state_Is_up( _System_state_Get() ) )