public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* How to handle long running tests in nptl.
@ 2019-09-12 13:21 Stefan Liebler
  2019-09-12 14:02 ` Carlos O'Donell
  2019-09-13 14:32 ` Cyril Hrubis
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Liebler @ 2019-09-12 13:21 UTC (permalink / raw)
  To: GNU C Library

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-12-13 20:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-12 13:21 How to handle long running tests in nptl Stefan Liebler
2019-09-12 14:02 ` Carlos O'Donell
2019-12-13 11:15   ` Florian Weimer
2019-12-13 20:39     ` Carlos O'Donell
2019-09-13 14:32 ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).