spfatal16: Remove obsolete test program

The "TRrc" semaphore was removed in commit
2c12262f9a.
This commit is contained in:
Sebastian Huber
2019-11-05 19:50:22 +01:00
parent a467f59963
commit e92c495674
4 changed files with 1 additions and 64 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -1,3 +0,0 @@
*** TEST FATAL 16 ***
Fatal error (termios sem create #1) hit
*** END OF TEST FATAL 16 ***

View File

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