diff options
author | Bruno Haible <bruno@clisp.org> | 2019-07-15 02:41:14 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-07-15 02:41:14 +0200 |
commit | 16a69219c961943bcf27ac63fd1f6f63c8af2b77 (patch) | |
tree | c5ea16bb9216ca229a2145313097b5b88be827da /modules | |
parent | 243f6dbf66228dfe89dad5202c128e46049add9c (diff) | |
download | gnulib-16a69219c961943bcf27ac63fd1f6f63c8af2b77.tar.gz |
pthread-rwlock: Add tests.
* tests/test-pthread-rwlock.c: New file, based on tests/test-lock.c.
* modules/pthread-rwlock-tests: New file.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pthread-rwlock-tests | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/pthread-rwlock-tests b/modules/pthread-rwlock-tests new file mode 100644 index 0000000000..ddb64dcb30 --- /dev/null +++ b/modules/pthread-rwlock-tests @@ -0,0 +1,15 @@ +Files: +tests/test-pthread-rwlock.c +tests/macros.h + +Depends-on: +pthread-thread +pthread-mutex +sched_yield + +configure.ac: + +Makefile.am: +TESTS += test-pthread-rwlock +check_PROGRAMS += test-pthread-rwlock +test_pthread_rwlock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ |