diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-20 07:57:08 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-21 07:19:29 +0200 |
commit | 56e61e24bd8cada5b25f6d4fdf433eed84f25204 (patch) | |
tree | c7eadd8eb5af389c61aa730251cad8392d6290b9 /testsuites | |
parent | clang: Keep -qrtems and -B for compilers without -specs support (diff) | |
download | rtems-56e61e24bd8cada5b25f6d4fdf433eed84f25204.tar.bz2 |
Remove INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL
The configured interrupt stack size (CONFIGURE_INTERRUPT_STACK_SIZE) is
checked against the minimum task stack size. The minium tasks task
stack size is also a configuration option
(CONFIGURE_MINIMUM_TASK_STACK_SIZE). So, this check does not really
help in case of configuration errors. In addition, the interrupt stack
is also re-used as the initialization stack in most BSPs. It is
probably better to use a stack checker to detect problems.
Update #3459.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/Makefile.am | 10 | ||||
-rw-r--r-- | testsuites/sptests/configure.ac | 1 | ||||
-rw-r--r-- | testsuites/sptests/spfatal07/spfatal07.doc | 20 | ||||
-rw-r--r-- | testsuites/sptests/spfatal07/spfatal07.scn | 3 | ||||
-rw-r--r-- | testsuites/sptests/spfatal07/testcase.h | 24 |
5 files changed, 0 insertions, 58 deletions
diff --git a/testsuites/sptests/Makefile.am b/testsuites/sptests/Makefile.am index d9a6bf235e..7574dba39a 100644 --- a/testsuites/sptests/Makefile.am +++ b/testsuites/sptests/Makefile.am @@ -926,16 +926,6 @@ spfatal06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal06) \ $(support_includes) -I$(top_srcdir)/spfatal06 endif -if TEST_spfatal07 -sp_tests += spfatal07 -sp_screens += spfatal07/spfatal07.scn -sp_docs += spfatal07/spfatal07.doc -spfatal07_SOURCES = spfatal_support/init.c spfatal_support/system.h \ - spfatal07/testcase.h -spfatal07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal07) \ - $(support_includes) -I$(top_srcdir)/spfatal07 -endif - if TEST_spfatal08 sp_tests += spfatal08 sp_screens += spfatal08/spfatal08.scn diff --git a/testsuites/sptests/configure.ac b/testsuites/sptests/configure.ac index 6418ad0bc8..36b3a17ecd 100644 --- a/testsuites/sptests/configure.ac +++ b/testsuites/sptests/configure.ac @@ -140,7 +140,6 @@ RTEMS_TEST_CHECK([spfatal03]) RTEMS_TEST_CHECK([spfatal04]) RTEMS_TEST_CHECK([spfatal05]) RTEMS_TEST_CHECK([spfatal06]) -RTEMS_TEST_CHECK([spfatal07]) RTEMS_TEST_CHECK([spfatal08]) RTEMS_TEST_CHECK([spfatal09]) RTEMS_TEST_CHECK([spfatal10]) diff --git a/testsuites/sptests/spfatal07/spfatal07.doc b/testsuites/sptests/spfatal07/spfatal07.doc deleted file mode 100644 index 07300ed4d5..0000000000 --- a/testsuites/sptests/spfatal07/spfatal07.doc +++ /dev/null @@ -1,20 +0,0 @@ -# COPYRIGHT (c) 1989-2009. -# 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: spfatal07 - -directives: - - None specifically - -concepts: - -+ Ensure that the error condition when the interrupt stack size configured - is too small is properly treated as a fatal error. diff --git a/testsuites/sptests/spfatal07/spfatal07.scn b/testsuites/sptests/spfatal07/spfatal07.scn deleted file mode 100644 index 5d7e820d60..0000000000 --- a/testsuites/sptests/spfatal07/spfatal07.scn +++ /dev/null @@ -1,3 +0,0 @@ -*** TEST FATAL 7 *** -Fatal error (Core Configuration Invalid ISR stack size) hit -*** END OF TEST FATAL 7 *** diff --git a/testsuites/sptests/spfatal07/testcase.h b/testsuites/sptests/spfatal07/testcase.h deleted file mode 100644 index 156f9b55e2..0000000000 --- a/testsuites/sptests/spfatal07/testcase.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Classic API Init task create failure - * - * COPYRIGHT (c) 1989-2011. - * 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 "7" -#define FATAL_ERROR_DESCRIPTION \ - "Core Configuration Invalid ISR stack size" -#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_CORE -#define FATAL_ERROR_EXPECTED_ERROR \ - INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL - -#define CONFIGURE_INTERRUPT_STACK_SIZE CPU_INTERRUPT_STACK_ALIGNMENT - -void force_error() -{ - /* we will not run this far */ -} |