diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Makefile.am | 1 | ||||
| -rw-r--r-- | tests/test_atomic.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index c8812bb..4cd04de 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -44,6 +44,7 @@ test_atomic_include.h: test_atomic_include.template sed -e s:XX:_full:g $? >> $@ sed -e s:XX:_release_write:g $? >> $@ sed -e s:XX:_acquire_read:g $? >> $@ + sed -e s:XX:_dd_acquire_read:g $? >> $@ list_atomic.c: list_atomic.template mkdir -p `dirname $@` diff --git a/tests/test_atomic.c b/tests/test_atomic.c index b063a92..80818a4 100644 --- a/tests/test_atomic.c +++ b/tests/test_atomic.c @@ -187,6 +187,7 @@ int main(void) test_atomic_full(); test_atomic_release_write(); test_atomic_acquire_read(); + test_atomic_dd_acquire_read(); # if defined(AO_HAVE_fetch_and_add1) && defined(AO_HAVE_fetch_and_sub1) run_parallel(4, add1sub1_thr, add1sub1_test, "add1/sub1"); # endif |
