[rtems commit] spfatal16: Remove obsolete test program
Sebastian Huber
sebh at rtems.org
Tue Nov 12 09:07:05 UTC 2019
Module: rtems
Branch: master
Commit: e92c495674140ff76eef5a88e788124a7e9bc90c
Changeset: http://git.rtems.org/rtems/commit/?id=e92c495674140ff76eef5a88e788124a7e9bc90c
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Nov 5 19:50:22 2019 +0100
spfatal16: Remove obsolete test program
The "TRrc" semaphore was removed in commit
2c12262f9a8fe7975556729f0574fab8d5a792f5.
---
testsuites/sptests/Makefile.am | 14 +-------------
testsuites/sptests/spfatal16/spfatal16.doc | 19 -------------------
testsuites/sptests/spfatal16/spfatal16.scn | 3 ---
testsuites/sptests/spfatal16/testcase.h | 29 -----------------------------
4 files changed, 1 insertion(+), 64 deletions(-)
diff --git a/testsuites/sptests/Makefile.am b/testsuites/sptests/Makefile.am
index a86b438..53ffaec 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 f4b388b..0000000
--- 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 3fd27db..0000000
--- 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 412f20e..0000000
--- 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);
-}
More information about the vc
mailing list