From d329acf46d3b1b24cb5f0d3e16ed4df9e0278b07 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 4 Sep 2009 21:28:56 +0000 Subject: 2009-09-04 Joel Sherrill * spfatal01/spfatal01.scn, spfatal01/testcase.h, spfatal02/spfatal02.scn, spfatal02/testcase.h, spfatal03/spfatal03.scn, spfatal03/testcase.h, spfatal04/spfatal04.scn, spfatal04/testcase.h, spfatal05/spfatal05.scn, spfatal05/testcase.h, spfatal06/spfatal06.scn, spfatal06/testcase.h, spfatal07/spfatal07.scn, spfatal07/testcase.h, spfatal08/spfatal08.scn, spfatal08/testcase.h, spfatal09/spfatal09.scn, spfatal09/testcase.h, spfatal10/Makefile.am, spfatal10/spfatal10.scn, spfatal11/Makefile.am, spfatal11/spfatal11.scn, spfatal12/Makefile.am, spfatal12/spfatal12.scn, spfatal_support/init.c: Make all fatal error tests use testcase.h and spfatal_support framework. Print test name herald in all cases. * spfatal10/testcase.h, spfatal11/testcase.h, spfatal12/testcase.h: New files. * spfatal10/init.c, spfatal11/init.c, spfatal12/init.c: Removed. --- testsuites/sptests/spfatal02/spfatal02.scn | 1 + testsuites/sptests/spfatal02/testcase.h | 1 + 2 files changed, 2 insertions(+) (limited to 'testsuites/sptests/spfatal02') diff --git a/testsuites/sptests/spfatal02/spfatal02.scn b/testsuites/sptests/spfatal02/spfatal02.scn index 807845b503..3700f68968 100644 --- a/testsuites/sptests/spfatal02/spfatal02.scn +++ b/testsuites/sptests/spfatal02/spfatal02.scn @@ -1 +1,2 @@ +*** TEST FATAL 2 *** Fatal error (Classic API Init task start failure) hit diff --git a/testsuites/sptests/spfatal02/testcase.h b/testsuites/sptests/spfatal02/testcase.h index 81a17499cd..5506354cfc 100644 --- a/testsuites/sptests/spfatal02/testcase.h +++ b/testsuites/sptests/spfatal02/testcase.h @@ -24,6 +24,7 @@ rtems_initialization_tasks_table Initialization_tasks[] = { #define CONFIGURE_INIT_TASK_TABLE_SIZE \ sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table) +#define FATAL_ERROR_TEST_NAME "2" #define FATAL_ERROR_DESCRIPTION "Classic API Init task start failure" #define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_RTEMS_API #define FATAL_ERROR_EXPECTED_IS_INTERNAL TRUE -- cgit v1.2.3