Bug#614737: [t/runtests] runtests doesn't fail if a a thread dies (e.g. because of die())
Package: lintian
Version: 2.5.0~rc1
Hi,
As subject says, t/runtests doesn't fail at the end even if a thread
"terminates abnormally" (because of a call to die()).
I didn't fix it before uploading the rc1 because I've been hitting a bug in
make (#614701) and even though I retried three times that bug hit me every
single time, so in the end I just uploaded the package.
There are two ways to fix this bug: either by replacing the calls to fail(), or
by making the for my $thr (threads->list()) loop actually check the return
status of the thread and re-start it if it died.
The latter should really be done only after refactoring the code.
(I'm personally inclined to leaving this bug unfixed until the make bug is
fixed. This bug doesn't affect tests that fail, only tests that fail to build.)
Cheers,
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
Reply to: