diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-08-23 08:32:52 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-08-23 08:32:52 +0000 |
commit | b89e4cd89cc6c3747da52a7a8f3b0514fe33359e (patch) | |
tree | b68d242d6df6ff838ead08cf5163331bfca01cf2 /testsuites/libtests/gxx01/init.c | |
parent | 2010-08-23 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-b89e4cd89cc6c3747da52a7a8f3b0514fe33359e.tar.bz2 |
2010-08-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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.
Diffstat (limited to 'testsuites/libtests/gxx01/init.c')
-rw-r--r-- | testsuites/libtests/gxx01/init.c | 20 |
1 files changed, 3 insertions, 17 deletions
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 <tmacros.h> #include "test_support.h" -#include "gxx_wrappers.h" +#include <rtems/gxx_wrappers.h> 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 */ |