summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-12 08:53:32 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-13 08:35:21 +0100
commit782113767f3e60389423c169f5c337ec3fb50feb (patch)
tree4f9e54b2def4cd74c704049c4c4bce99aa17aed9 /testsuites
parentconfig: Statically allocate MP object controls (diff)
downloadrtems-782113767f3e60389423c169f5c337ec3fb50feb.tar.bz2
score: Remove _Workspace_Allocate_or_fatal_error()
This function is unused. Update #3735.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/Makefile.am9
-rw-r--r--testsuites/sptests/configure.ac1
-rw-r--r--testsuites/sptests/spfatal08/init.c31
-rw-r--r--testsuites/sptests/spfatal08/spfatal08.doc20
-rw-r--r--testsuites/sptests/spfatal08/spfatal08.scn3
5 files changed, 0 insertions, 64 deletions
diff --git a/testsuites/sptests/Makefile.am b/testsuites/sptests/Makefile.am
index f127c2b2e8..1b47cad4a9 100644
--- a/testsuites/sptests/Makefile.am
+++ b/testsuites/sptests/Makefile.am
@@ -949,15 +949,6 @@ spfatal06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal06) \
$(support_includes)
endif
-if TEST_spfatal08
-sp_tests += spfatal08
-sp_screens += spfatal08/spfatal08.scn
-sp_docs += spfatal08/spfatal08.doc
-spfatal08_SOURCES = spfatal08/init.c
-spfatal08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal08) \
- $(support_includes)
-endif
-
if TEST_spfatal09
sp_tests += spfatal09
sp_screens += spfatal09/spfatal09.scn
diff --git a/testsuites/sptests/configure.ac b/testsuites/sptests/configure.ac
index d8816d80f0..e30f96d1c4 100644
--- a/testsuites/sptests/configure.ac
+++ b/testsuites/sptests/configure.ac
@@ -142,7 +142,6 @@ RTEMS_TEST_CHECK([spfatal03])
RTEMS_TEST_CHECK([spfatal04])
RTEMS_TEST_CHECK([spfatal05])
RTEMS_TEST_CHECK([spfatal06])
-RTEMS_TEST_CHECK([spfatal08])
RTEMS_TEST_CHECK([spfatal09])
RTEMS_TEST_CHECK([spfatal10])
RTEMS_TEST_CHECK([spfatal11])
diff --git a/testsuites/sptests/spfatal08/init.c b/testsuites/sptests/spfatal08/init.c
deleted file mode 100644
index 568bdf7dcb..0000000000
--- a/testsuites/sptests/spfatal08/init.c
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include "../spfatal_support/spfatal.h"
-
-/*
- * Classic API Init task create failure
- *
- * COPYRIGHT (c) 1989-2008.
- * 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.
- */
-
-#include <rtems/score/wkspace.h>
-
-#define FATAL_ERROR_TEST_NAME "8"
-#define FATAL_ERROR_DESCRIPTION "Core workspace too small"
-#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_CORE
-#define FATAL_ERROR_EXPECTED_ERROR INTERNAL_ERROR_WORKSPACE_ALLOCATION
-
-static void force_error(void)
-{
- _Workspace_Allocate_or_fatal_error( SIZE_MAX );
- /* we will not run this far */
-}
-
-#include "../spfatal_support/spfatalimpl.h"
diff --git a/testsuites/sptests/spfatal08/spfatal08.doc b/testsuites/sptests/spfatal08/spfatal08.doc
deleted file mode 100644
index 2da0234005..0000000000
--- a/testsuites/sptests/spfatal08/spfatal08.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: spfatal08
-
-directives:
-
- None specifically
-
-concepts:
-
-+ Ensure that the error condition when the workspace provided is too small
- is properly treated as a fatal error.
diff --git a/testsuites/sptests/spfatal08/spfatal08.scn b/testsuites/sptests/spfatal08/spfatal08.scn
deleted file mode 100644
index b06e671f5a..0000000000
--- a/testsuites/sptests/spfatal08/spfatal08.scn
+++ /dev/null
@@ -1,3 +0,0 @@
-*** TEST FATAL 8 ***
-Fatal error (Core workspace too small) hit
-*** END OF TEST FATAL 8 ***