summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfatal10
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-15 19:21:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-15 19:21:10 +0000
commitbb9c80df457c8c054ae99508fed4959886f78930 (patch)
treebb80894b267958d9566904c06c951ca85d2222a7 /testsuites/sptests/spfatal10
parent2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-bb9c80df457c8c054ae99508fed4959886f78930.tar.bz2
2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spfatal06/testcase.h, spfatal07/testcase.h, spfatal08/testcase.h, spfatal09/testcase.h, spsize/size.c: Eliminate pointers to API configuration tables in the main configuration table. Reference the main configuration table and the API configuration tables directly using the confdefs.h version rather than obtaining a pointer to it. This eliminated some variables, a potential fatal error, some unnecessary default configuration structures. Overall, about a 4.5% reduction in the code size for minimum and hello on the SPARC. * spfatal10/.cvsignore, spfatal10/Makefile.am, spfatal10/spfatal10.scn, spfatal10/testcase.h: Removed.
Diffstat (limited to 'testsuites/sptests/spfatal10')
-rw-r--r--testsuites/sptests/spfatal10/.cvsignore2
-rw-r--r--testsuites/sptests/spfatal10/Makefile.am27
-rw-r--r--testsuites/sptests/spfatal10/spfatal10.scn1
-rw-r--r--testsuites/sptests/spfatal10/testcase.h36
4 files changed, 0 insertions, 66 deletions
diff --git a/testsuites/sptests/spfatal10/.cvsignore b/testsuites/sptests/spfatal10/.cvsignore
deleted file mode 100644
index 282522db03..0000000000
--- a/testsuites/sptests/spfatal10/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/testsuites/sptests/spfatal10/Makefile.am b/testsuites/sptests/spfatal10/Makefile.am
deleted file mode 100644
index 286fd3a9f2..0000000000
--- a/testsuites/sptests/spfatal10/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-##
-## $Id$
-##
-
-MANAGERS = all
-
-rtems_tests_PROGRAMS = spfatal10.exe
-spfatal10_exe_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h testcase.h
-
-dist_rtems_tests_DATA = spfatal10.scn
-
-include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
-include $(top_srcdir)/../automake/compile.am
-include $(top_srcdir)/../automake/leaf.am
-
-spfatal10_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
-
-AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-
-LINK_OBJS = $(spfatal10_exe_OBJECTS) $(spfatal10_exe_LDADD)
-LINK_LIBS = $(spfatal10_exe_LDLIBS)
-
-spfatal10.exe$(EXEEXT): $(spfatal10_exe_OBJECTS) $(spfatal10_exe_DEPENDENCIES)
- @rm -f spfatal10.exe$(EXEEXT)
- $(make-exe)
-
-include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/sptests/spfatal10/spfatal10.scn b/testsuites/sptests/spfatal10/spfatal10.scn
deleted file mode 100644
index d3dcd3c360..0000000000
--- a/testsuites/sptests/spfatal10/spfatal10.scn
+++ /dev/null
@@ -1 +0,0 @@
-Fatal error (Core NULL Configuration Table) hit
diff --git a/testsuites/sptests/spfatal10/testcase.h b/testsuites/sptests/spfatal10/testcase.h
deleted file mode 100644
index b559a0e4ed..0000000000
--- a/testsuites/sptests/spfatal10/testcase.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Classic API Init task create failure
- *
- * $Id$
- */
-
-/*
- * Way too much stack space. Should generate a fatal error
- * on the init task create.
- */
-#define CONFIGURE_HAS_OWN_INIT_TASK_TABLE
-#define CONFIGURE_INIT_TASK_STACK_SIZE RTEMS_MINIMUM_STACK_SIZE
-rtems_initialization_tasks_table Initialization_tasks[] = {
- { rtems_build_name('I', 'N', 'I', ' '),
- RTEMS_MINIMUM_STACK_SIZE,
- 1,
- RTEMS_DEFAULT_ATTRIBUTES,
- Init,
- RTEMS_DEFAULT_MODES,
- 0
- }
-};
-#define CONFIGURE_INIT_TASK_TABLE Initialization_tasks
-#define CONFIGURE_INIT_TASK_TABLE_SIZE \
- sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table)
-
-#define FATAL_ERROR_DESCRIPTION "Core NULL Configuration Table"
-#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_CORE
-#define FATAL_ERROR_EXPECTED_IS_INTERNAL TRUE
-#define FATAL_ERROR_EXPECTED_ERROR INTERNAL_ERROR_NO_CONFIGURATION_TABLE
-
-void force_error()
-{
- rtems_initialize_data_structures( NULL );
- /* we will not run this far */
-}