summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/gxx01/gxx01.scn
blob: f831881fa37a3283acd6eb7b116848e22c8b777e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
*** TEST GXX 01 ***
rtems_gxx_mutex_init() - OK
rtems_gxx_mutex_trylock() - OK
rtems_gxx_mutex_unlock() - OK
rtems_gxx_mutex_lock() - OK
rtems_gxx_mutex_unlock() - OK

rtems_gxx_recursive_mutex_init() - OK
rtems_gxx_recursive_mutex_trylock() - OK
rtems_gxx_recursive_mutex_trylock() - Nest
rtems_gxx_recursive_mutex_unlock() - Unnest
rtems_gxx_recursive_mutex_unlock() - OK
rtems_gxx_recursive_mutex_lock() - OK
rtems_gxx_recursive_mutex_unlock() - OK
rtems_gxx_mutex_destroy(mutex) - OK
rtems_gxx_mutex_destroy(mutex) - NOT OK

Call once method the first time
Running once method
Call once method the second time

rtems_gxx_key_create(&key, NULL) - OK
rtems_gxx_key_delete(key) - OK
rtems_gxx_key_create(&key, key_dtor) - OK
rtems_gxx_getspecific(key) not set - OK
rtems_gxx_setspecific(key, 0x1234) - OK
rtems_gxx_getspecific(key) already existing - OK
rtems_gxx_key_delete(key) - OK
rtems_gxx_getspecific(key) non-existent - OK
rtems_gxx_key_delete(key) - NOT OK
rtems_gxx_setspecific(NULL, 0x1234) - NOT OK
rtems_gxx_getspecific(NULL) - OK
rtems_gxx_key_delete(NULL) - NOT OK

*** END OF TEST GXX 01 ***