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]

Setting high test timeouts makes some tests take longer.


Mike,

I noticed nptl/tst-exit2 taking longer and longer the more
I increased my timeouts.

If you look at the test it actually relies on the test to
timeout for it to complete! Yikes!

It uses pthread_exit to exit the main thread, and then it
proves the created thread is still running by timing out
the test.

These tests that have "EXPECTED_SIGNAL SIGALRM" (not all
of them, but several) need to be rewritten to use alarm()
to trigger the signal at some reasonable time instead of
the full duration of the test timeout.

So with your patch to increase timeouts, it makes
these tests take longer :-(

Do you think using alarm() is a good solution? Seems
easiest.

Cheers,
Carlos.


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