This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: make fastcheck


On Thu, 18 Jul 2019, Cyril Hrubis wrote:

> One of the most common problems in our tests was sleep() being used as a
> poor man's synchronization primitive. Greping libc sources there are 45
> tests that call sleep() and more than half of that is in the nptl/
> directory so there may be a room for improvement.

A separate problem in nptl/ is that it disables parallel build for 
testing.

# The tests here better do not run in parallel
ifneq ($(filter %tests,$(MAKECMDGOALS)),)
.NOTPARALLEL:
endif

Even if the tests can't safely *run* in parallel, it should be possible to 
*compile* them in parallel.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]