mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
tests: Reduce code duplication.
* tests/atomic-int-posix.h: New file, extracted from tests/test-pthread-mutex.c. * tests/test-pthread-mutex.c: Include it. Remove the corresponding code. * tests/test-pthread-rwlock.c: Likewise. * modules/pthread-mutex-tests (Files): Add tests/atomic-int-posix.h. * modules/pthread-rwlock-tests (Files): Likewise.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
Files:
|
||||
tests/test-pthread-mutex.c
|
||||
tests/atomic-int-posix.h
|
||||
tests/macros.h
|
||||
|
||||
Depends-on:
|
||||
|
Reference in New Issue
Block a user