diff options
Diffstat (limited to 'testsuites/sptests/spfatal22')
-rw-r--r-- | testsuites/sptests/spfatal22/Makefile.am | 21 | ||||
-rw-r--r-- | testsuites/sptests/spfatal22/spfatal22.doc | 19 | ||||
-rw-r--r-- | testsuites/sptests/spfatal22/spfatal22.scn | 4 | ||||
-rw-r--r-- | testsuites/sptests/spfatal22/testcase.h | 24 |
4 files changed, 0 insertions, 68 deletions
diff --git a/testsuites/sptests/spfatal22/Makefile.am b/testsuites/sptests/spfatal22/Makefile.am deleted file mode 100644 index f41b836705..0000000000 --- a/testsuites/sptests/spfatal22/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -rtems_tests_PROGRAMS = spfatal22 -spfatal22_SOURCES = ../spfatal_support/init.c \ - ../spfatal_support/system.h ../../support/src/test_support.c testcase.h - -dist_rtems_tests_DATA = spfatal22.scn -dist_rtems_tests_DATA += spfatal22.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(spfatal22_OBJECTS) -LINK_LIBS = $(spfatal22_LDLIBS) - -spfatal22$(EXEEXT): $(spfatal22_OBJECTS) $(spfatal22_DEPENDENCIES) - @rm -f spfatal22$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/sptests/spfatal22/spfatal22.doc b/testsuites/sptests/spfatal22/spfatal22.doc deleted file mode 100644 index 02abfef376..0000000000 --- a/testsuites/sptests/spfatal22/spfatal22.doc +++ /dev/null @@ -1,19 +0,0 @@ -# COPYRIGHT (c) 1989-2010. -# On-Line Applications Research Corporation (OAR). -# -# The license and distribution terms for this file may be -# found in the file LICENSE in this distribution or at -# http://www.rtems.org/license/LICENSE. -# - -This file describes the directives and concepts tested by this test set. - -test set name: spfatal22 - -directives: - - rtems_libio_init - -concepts: - -+ Exercise path when unable to allocate memory. diff --git a/testsuites/sptests/spfatal22/spfatal22.scn b/testsuites/sptests/spfatal22/spfatal22.scn deleted file mode 100644 index b4239e6424..0000000000 --- a/testsuites/sptests/spfatal22/spfatal22.scn +++ /dev/null @@ -1,4 +0,0 @@ -*** TEST FATAL FATAL 22 *** -Allocate_majority_of_heap: -Fatal error (libio init out of memory) hit -*** END OF TEST FATAL 22 *** diff --git a/testsuites/sptests/spfatal22/testcase.h b/testsuites/sptests/spfatal22/testcase.h deleted file mode 100644 index 195b7ecc3f..0000000000 --- a/testsuites/sptests/spfatal22/testcase.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * COPYRIGHT (c) 1989-2010. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#define FATAL_ERROR_TEST_NAME "22" -#define FATAL_ERROR_DESCRIPTION "libio init out of memory" -#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_RTEMS_API -#define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE -#define FATAL_ERROR_EXPECTED_ERROR RTEMS_NO_MEMORY - -#include <rtems/libio.h> -#include <rtems/malloc.h> - -void force_error() -{ - rtems_heap_greedy_allocate( NULL, 0 ); - - rtems_libio_init(); -} |