Skip Menu |

This queue is for tickets about the Linux-Pid CPAN distribution.

Report information
The Basics
Id: 7335
Status: resolved
Priority: 0/
Queue: Linux-Pid

People
Owner: Nobody in particular
Requestors: john.espy [...] state.or.us
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.02
Fixed in: 0.03



Subject: linux pid: make error in threads.t
When I run make test I get the following: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/basic.......ok t/import......ok t/threaded....NOK 8# Failed test (t/threaded.t at line 34) # '6697' # ne # '6697' t/threaded....NOK 9# Failed test (t/threaded.t at line 35) # '6692' # ne # '6692' # Looks like you failed 2 tests of 9. t/threaded....dubious Test returned status 2 (wstat 512, 0x200) Scalar found where operator expected at (eval 153) line 1, near "'int' $__val" (Missing operator before $__val?) DIED. FAILED tests 8-9 Failed 2/9 tests, 77.78% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/threaded.t 2 512 9 2 22.22% 8-9 Failed 1/3 test scripts, 66.67% okay. 2/13 subtests failed, 84.62% okay. make: *** [test_dynamic] Error 2
Date: Tue, 17 Aug 2004 11:34:14 +0200
From: Rafael Garcia-Suarez <rgarciasuarez [...] mandrakesoft.com>
To: bug-Linux-Pid [...] rt.cpan.org
Subject: Re: [cpan #7335] linux pid: make error in threads.t
RT-Send-Cc:
Guest via RT wrote: Show quoted text
> When I run make test I get the following:
... Show quoted text
> Failed 2/9 tests, 77.78% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t/threaded.t 2 512 9 2 22.22% 8-9 > Failed 1/3 test scripts, 66.67% okay. 2/13 subtests failed, 84.62% okay.
I bet that your kernel is using the NPTL threads. The command getconf GNU_LIBPTHREAD_VERSION might give some info about this. NPTL threads don't have the same semantics than plain old linuxthreads. I'll fix the tests accordingly.