[PATCH 05/13] spfatal16: Remove obsolete test program

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Nov 8 14:02:53 UTC 2019


The "TRrc" semaphore was removed in commit
2c12262f9a8fe7975556729f0574fab8d5a792f5.
---
 testsuites/sptests/spfatal16/spfatal16.doc | 19 -------------------
 testsuites/sptests/spfatal16/spfatal16.scn |  3 ---
 testsuites/sptests/spfatal16/testcase.h    | 29 -----------------------------
 3 files changed, 51 deletions(-)
 delete mode 100644 testsuites/sptests/spfatal16/spfatal16.doc
 delete mode 100644 testsuites/sptests/spfatal16/spfatal16.scn
 delete mode 100644 testsuites/sptests/spfatal16/testcase.h

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);
-}
-- 
2.16.4



More information about the devel mailing list