Bruno Haible
8947cd3972
tests: Use strnul.
...
* tests/test-dfa-match-aux.c (main): Use strnul.
* tests/test-pthread-rwlock-waitqueue.c (reader_func, writer_func):
Likewise.
* tests/test-strtold.h (test_function): Likewise.
* tests/test-xstrtold.c (main): Likewise.
* modules/dfa-tests (Depends-on): Add strnul.
* modules/pthread-rwlock-extra-tests (Depends-on): Likewise.
* modules/c-strtold-tests (Depends-on): Likewise.
* modules/strtold-tests (Depends-on): Likewise.
* modules/xstrtold-tests (Depends-on): Likewise.
2026-03-01 14:44:32 +01:00
Collin Funk
a8482ceecf
maint: run 'make update-copyright'
2026-01-01 10:37:05 -08:00
Pádraig Brady
7b08932179
maint: run 'make update-copyright'
2025-01-01 09:25:10 +00:00
Bruno Haible
addffe3ea7
pthread-rwlock tests: Fix compilation error on AIX with xlc.
...
* m4/pthread-rwlock.m4 (gl_PTHREAD_RWLOCK): Cast the NULL pointer.
* tests/test-pthread-rwlock-waitqueue.c (do_test): Likewise.
2024-11-14 07:06:25 +01:00
Bruno Haible
a66864d79e
pthread-rwlock-extra-tests: Exclude this test from packages by default.
...
* tests/test-pthread-rwlock-waitqueue.c (STEP_INTERVAL): Add comment.
* modules/pthread-rwlock-extra-tests (Status): Mark as longrunning-test.
2024-08-14 16:43:34 +02:00
Bruno Haible
34d5760554
pthread-rwlock: Attempt harder to avoid test failure on macOS.
...
* tests/test-pthread-rwlock-waitqueue.c (STEP_INTERVAL): Bump the
minimum interval to 200 ms on macOS.
2024-08-12 14:56:46 +02:00
Bruno Haible
e85cc59503
pthread-rwlock: Attempt harder to avoid test failure on macOS.
...
* tests/test-pthread-rwlock-waitqueue.c (STEP_INTERVAL): Bump the
minimum interval to 100 ms on macOS.
2024-08-12 14:18:02 +02:00
Bruno Haible
9bf0d8e52a
pthread-rwlock: Attempt harder to avoid test failure on macOS.
...
* tests/test-pthread-rwlock-waitqueue.c (STEP_INTERVAL): Bump the
minimum interval to 50 ms on macOS.
2024-08-12 13:15:42 +02:00
Bruno Haible
ef4c430e2d
pthread-rwlock: Attempt to avoid test failure on some more machines.
...
* tests/test-pthread-rwlock-waitqueue.c (STEP_INTERVAL): Bump the
minimum interval to 20 ms on macOS.
2024-08-12 11:15:37 +02:00
Bruno Haible
b12e697b20
pthread-rwlock: Attempt to avoid test failure on some machines.
...
Reported by Pádraig Brady <P@draigBrady.com > in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-08/msg00050.html >.
* tests/test-pthread-rwlock-waitqueue.c (STEP_INTERVAL): Bump the
minimum interval to 10 ms.
* m4/pthread-rwlock.m4 (gl_PTHREAD_RWLOCK): Likewise.
2024-08-09 11:59:10 +02:00
Bruno Haible
d6cd315de0
pthread-rwlock tests: Strengthen tests.
...
* tests/test-pthread-rwlock-waitqueue.c: New file.
* modules/pthread-rwlock-tests (Files): Add it.
(Depends-on): Add extensions, nanosleep, stdbool.
(Makefile.am): Arrange to test test-pthread-rwlock-waitqueue.
2024-08-07 19:53:41 +02:00