tests: Add char/short/int/AO_double_t and dd_acquire cases to list_atomic
authorIvan Maidanski <ivmai@mail.ru>
Tue, 13 Aug 2013 20:40:04 +0000 (00:40 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 13 Aug 2013 20:40:04 +0000 (00:40 +0400)
commitf7600375c503d6dd5fb8105937d96e5b1039c214
treef59da48ffd0a2feb144b7b749c864ca0fe8dcee3
parenta9a05e8478d8971d02880bdcbf5bda4e0c2ce662
tests: Add char/short/int/AO_double_t and dd_acquire cases to list_atomic

* tests/Makefile.am (list_atomic.c): Iterate over XSIZE/XCTYPE (in
addition to XX); expand XX also as _dd_acquire_read.
* tests/list_atomic.template (XSIZE_list_atomicXX): Define 'val' local
variable only if used (needed for AO_double_t case).
tests/Makefile.am
tests/list_atomic.template