How to handle long running tests in nptl.

Stefan Liebler stli@linux.ibm.com
Thu Sep 12 13:21:00 GMT 2019


Hi,

the nptl tests are currently running in sequence. Some of them are 
running very long:
-tst-cond16: 20s
-tst-cond17: 20s
-tst-cond18: 20s
-tst-rwlock-tryrdlock-stall: 20s
-tst-mutex10: 16s
-tst-rwlock20: 10s
-tst-rwlock-trywrlock-stall: 10s
-tst-rwlock-pwn: 10s

The listed tests are responsible for over two minutes of runtime of 
"make check". They all are running a test in a loop for a large amount 
of iterations or seconds in order to trigger e.g. a race condition.

How to handle those long running tests with respect of "make check" runtime?
- reduce runtime by reducing number of iterations or seconds
- move those tests to "make xcheck"
- reduce runtime while running "make check" and rerun with unchanged 
runtime in "make xcheck"
- change nothing
- other ideas?

Bye,
Stefan



More information about the Libc-alpha mailing list