From b89e4cd89cc6c3747da52a7a8f3b0514fe33359e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 23 Aug 2010 08:32:52 +0000 Subject: 2010-08-23 Sebastian Huber * gxx01/gxx_wrappers.h, gxx02/.cvsignore, gxx02/Makefile.am, gxx02/gxx02.doc, gxx02/gxx02.scn, gxx02/init.c: Removed files. * Makefile.am, configure.ac: Reflect changes above. * gxx01/init.c: Removed fatal error test case. --- testsuites/libtests/gxx01/init.c | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'testsuites/libtests/gxx01/init.c') diff --git a/testsuites/libtests/gxx01/init.c b/testsuites/libtests/gxx01/init.c index 3ab36b2338..fd8245bb4c 100644 --- a/testsuites/libtests/gxx01/init.c +++ b/testsuites/libtests/gxx01/init.c @@ -11,7 +11,7 @@ #include #include "test_support.h" -#include "gxx_wrappers.h" +#include void test_recursive_mutex(void) { @@ -164,20 +164,6 @@ void test_key(void) rtems_test_assert( key == NULL ); } -void test_out_of_mutexes(void) -{ - __gthread_mutex_t mutex; - - puts( "rtems_gxx_mutex_init() until exhausted and panic" ); - puts( "rtems_gxx_mutex_init() panic AFTER printing EOF message" ); - puts( "*** END OF TEST GXX 01 ***" ); - - while (1) { - rtems_gxx_mutex_init(&mutex); - rtems_test_assert( mutex != 0 ); - } -} - rtems_task Init( rtems_task_argument argument ) @@ -196,9 +182,9 @@ rtems_task Init( test_key(); puts( "" ); - test_out_of_mutexes(); + puts( "*** END OF TEST GXX 01 ***" ); - /* does not return */ + rtems_test_exit( 0 ); } /* configuration information */ -- cgit v1.2.3