summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-05 19:50:22 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-12 09:36:20 +0100
commite92c495674140ff76eef5a88e788124a7e9bc90c (patch)
tree24a76924fd48d8f4368e7514ee06c4ca63570dc6
parenta467f5996339ed1071bae350cd04f43c6f1e6ad3 (diff)
downloadrtems-e92c495674140ff76eef5a88e788124a7e9bc90c.tar.bz2
spfatal16: Remove obsolete test program
The "TRrc" semaphore was removed in commit 2c12262f9a8fe7975556729f0574fab8d5a792f5.
-rw-r--r--testsuites/sptests/Makefile.am14
-rw-r--r--testsuites/sptests/spfatal16/spfatal16.doc19
-rw-r--r--testsuites/sptests/spfatal16/spfatal16.scn3
-rw-r--r--testsuites/sptests/spfatal16/testcase.h29
4 files changed, 1 insertions, 64 deletions
diff --git a/testsuites/sptests/Makefile.am b/testsuites/sptests/Makefile.am
index a86b438d61..53ffaec92c 100644
--- a/testsuites/sptests/Makefile.am
+++ b/testsuites/sptests/Makefile.am
@@ -1012,24 +1012,12 @@ sp_tests += spfatal15
sp_screens += spfatal15/spfatal15.scn
sp_docs += spfatal15/spfatal15.doc
spfatal15_SOURCES = spfatal_support/init.c \
- spfatal_support/consume_sems.c spfatal_support/system.h \
+ spfatal_support/system.h \
spfatal15/testcase.h
spfatal15_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal15) \
$(support_includes) -I$(top_srcdir)/spfatal15
endif
-if TEST_spfatal16
-sp_tests += spfatal16
-sp_screens += spfatal16/spfatal16.scn
-sp_docs += spfatal16/spfatal16.doc
-spfatal16_SOURCES = spfatal_support/init.c \
- spfatal_support/consume_sems.c spfatal_support/system.h \
- spfatal16/testcase.h
-spfatal16_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal16) \
- $(support_includes) -I$(top_srcdir)/spfatal16 \
- -DSEMAPHORES_REMAINING=4
-endif
-
if TEST_spfatal24
sp_tests += spfatal24
sp_screens += spfatal24/spfatal24.scn
diff --git a/testsuites/sptests/spfatal16/spfatal16.doc b/testsuites/sptests/spfatal16/spfatal16.doc
deleted file mode 100644
index f4b388b2c9..0000000000
--- a/testsuites/sptests/spfatal16/spfatal16.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: spfatal16
-
-directives:
-
- rtems_termios_open
-
-concepts:
-
-+ fatal error for one of the semaphore creates
diff --git a/testsuites/sptests/spfatal16/spfatal16.scn b/testsuites/sptests/spfatal16/spfatal16.scn
deleted file mode 100644
index 3fd27db533..0000000000
--- a/testsuites/sptests/spfatal16/spfatal16.scn
+++ /dev/null
@@ -1,3 +0,0 @@
-*** TEST FATAL 16 ***
-Fatal error (termios sem create #1) hit
-*** END OF TEST FATAL 16 ***
diff --git a/testsuites/sptests/spfatal16/testcase.h b/testsuites/sptests/spfatal16/testcase.h
deleted file mode 100644
index 412f20e04a..0000000000
--- a/testsuites/sptests/spfatal16/testcase.h
+++ /dev/null
@@ -1,29 +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.
- */
-
-/* generate fatal errors in termios.c
- * rtems_semaphore_create( rtems_build_name ('T', 'R', 'r', c),...);
- */
-
-#include <rtems/test.h>
-
-#define FATAL_ERROR_TEST_NAME "16"
-#define FATAL_ERROR_DESCRIPTION "termios sem create #1"
-#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_RTEMS_API
-#define FATAL_ERROR_EXPECTED_ERROR RTEMS_TOO_MANY
-
-#define CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS \
- CONSUME_SEMAPHORE_DRIVERS
-
-void force_error()
-{
- /* This fatal error depends on the Termios device configuration */
- TEST_END();
- rtems_test_exit(0);
-}