diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-01-26 11:01:44 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-01-27 11:06:46 +0100 |
commit | 2145e0c7bf31c681a745eeee57f4e889d7587ecc (patch) | |
tree | 60160fbe3b48834d2b825fa751e0f9ba9acf6962 /testsuites/sptests/spfatal25 | |
parent | bsps: Avoid use of memcpy() in bsp_fdt_copy() (diff) | |
download | rtems-2145e0c7bf31c681a745eeee57f4e889d7587ecc.tar.bz2 |
Remove obsolete rtems_gxx_*() implementation
GCC versions prior to 6.1 used a RTEMS thread model based on
rtems_gxx_*() functions. GCC version 6.1 or later uses the
self-contained synchronization objects of Newlib <sys/lock.h> for the
RTEMS thread model.
Remove the obsolete implementation.
Close #3143.
Diffstat (limited to 'testsuites/sptests/spfatal25')
-rw-r--r-- | testsuites/sptests/spfatal25/init.c | 33 | ||||
-rw-r--r-- | testsuites/sptests/spfatal25/spfatal25.doc | 19 | ||||
-rw-r--r-- | testsuites/sptests/spfatal25/spfatal25.scn | 3 |
3 files changed, 0 insertions, 55 deletions
diff --git a/testsuites/sptests/spfatal25/init.c b/testsuites/sptests/spfatal25/init.c deleted file mode 100644 index 83042557e5..0000000000 --- a/testsuites/sptests/spfatal25/init.c +++ /dev/null @@ -1,33 +0,0 @@ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include "../spfatal_support/spfatal.h" - -/* - * 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. - */ - -#include <rtems/gxx_wrappers.h> - -#define FATAL_ERROR_TEST_NAME "GXX MUTEX INIT FAILED" -#define FATAL_ERROR_DESCRIPTION "GXX MUTEX INIT FAILED" -#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_CORE -#define FATAL_ERROR_EXPECTED_ERROR INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED - -static void force_error(void) -{ - __gthread_mutex_t mutex; - - while ( true ) { - rtems_gxx_mutex_init( &mutex ); - rtems_test_assert( mutex != 0 ); - } -} - -#include "../spfatal_support/spfatalimpl.h" diff --git a/testsuites/sptests/spfatal25/spfatal25.doc b/testsuites/sptests/spfatal25/spfatal25.doc deleted file mode 100644 index e30241bc8b..0000000000 --- a/testsuites/sptests/spfatal25/spfatal25.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: spfatal24 - -directives: - - rtems_gxx_getspecific(); - -concepts: - -+ Trigger fatal error. diff --git a/testsuites/sptests/spfatal25/spfatal25.scn b/testsuites/sptests/spfatal25/spfatal25.scn deleted file mode 100644 index 93a6b729b8..0000000000 --- a/testsuites/sptests/spfatal25/spfatal25.scn +++ /dev/null @@ -1,3 +0,0 @@ -*** TEST FATAL GXX MUTEX INIT FAILED *** -Fatal error (GXX MUTEX INIT FAILED) hit -*** END OF TEST FATAL GXX MUTEX INIT FAILED *** |