summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/gxx01/gxx01.scn
blob: e66bd6a1569053d7f424e5721e7c0207d62a5bd5 (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
*** 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_setspecific() - OK
rtems_gxx_getspecific(key) already existing - OK
rtems_gxx_key_delete(key) - OK
rtems_gxx_getspecific(key_for_testing) non-existent - OK
rtems_gxx_key_delete(key_for_testing) - OK

rtems_gxx_mutex_init() until exhausted and panic
rtems_gxx_mutex_init
fatal error, exiting
*** END OF TEST GXX 01 ***