[PATCH] Speedup various nptl/tst-mutex5 tests.
Stefan Liebler
stli@linux.ibm.com
Thu Sep 12 12:16:00 GMT 2019
Hi,
each of these tests - tst-mutex5, tst-mutex5a, tst-mutexpi5
and tst-mutexpi5a - runs for 6s.
do_test_clock is called three times, which tries to lock the mutex
which times out after 2 seconds.
This patch reduces the timeout to 0.3 seconds which leads to a
runtime of roughly 0.9s for one tst-mutex5... invocation.
As the nptl tests run in sequence, this patch saves roughly 20s of
runtime for "make check".
Bye,
Stefan
ChangeLog:
* nptl/tst-mutex5.c (do_test_clock): Reduce timeout.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20190911_nptl_tstmutex5.patch
Type: text/x-patch
Size: 1405 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20190912/12d7337c/attachment.bin>
More information about the Libc-alpha
mailing list