Changeset 118cc56 in rtems


Ignore:
Timestamp:
Jul 25, 2010, 3:48:16 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
04ecf40
Parents:
39d3f8d
Message:

2010-07-25 Joel Sherrill <joel.sherrill@…>

  • gxx01/gxx01.scn, gxx01/init.c: Add test f0r rtems_gxx_key_dtor().
Location:
testsuites/libtests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    r39d3f8d r118cc56  
     12010-07-25      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * gxx01/gxx01.scn, gxx01/init.c: Add test f0r rtems_gxx_key_dtor().
     4
    152010-07-25      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • testsuites/libtests/gxx01/gxx01.scn

    r39d3f8d r118cc56  
    2828rtems_gxx_getspecific(key_for_testing) non-existent - OK
    2929rtems_gxx_key_delete(key_for_testing) - OK
     30rtems_gxx_key_dtor(&key) - OK
    3031
    3132rtems_gxx_mutex_init() until exhausted and panic
  • testsuites/libtests/gxx01/init.c

    r39d3f8d r118cc56  
    156156  rtems_test_assert( sc == 0 );
    157157  rtems_test_assert( key_for_testing == NULL );
     158
     159
     160  key = (void *)0x1234;
     161  puts( "rtems_gxx_key_dtor(&key) - OK" );
     162  sc = rtems_gxx_key_dtor((__gthread_key_t) &key, key_dtor);
     163  rtems_test_assert( sc == 0 );
     164  rtems_test_assert( key == NULL );
    158165}
    159166
Note: See TracChangeset for help on using the changeset viewer.