[728] Removed non-portable self testing gubbins from Makefile.PL

Andy Armstrong n at rciss.us
Tue Oct 16 19:00:49 UTC 2007


On 16 Oct 2007, at 19:45, Michael G Schwern wrote:
>> * t/compat/inc-propagation.t is breaking under CPANPLUS in
>> interesting ways
>
> Could you define "interesting"?

Oh, sorry. Well to start with all our test failures are coming from  
CPANPLUS based smoking:

http://cpantesters.perl.org/show/Test-Harness.html#Test-Harness-2.99_04

So I tried

CPAN Terminal > t http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/ 
Test-Harness-2.99_04.tar.gz

and got:

[ERROR] MAKE TEST failed:  PERL_DL_NONLAZY=1 /opt/local/bin/perl "- 
MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/ 
arch')" t/*.t t/compat/*.t
t/000-load........................# Testing Test::Harness 2.99_05,  
Perl 5.008008, /opt/local/bin/perl
ok

[snip no errors]

t/compat/inc-propagation..........
#   Failed test '@INC propagated to test'
#   at inc_check_taint.t.tmp line 33.
#     Structures begin differing at:
#          $got->[2] = '-I/Users/andy/.cpanplus/5.8.8/build/Test- 
Harness-2.99_04/blib/lib'
#     $expected->[2] = '/Users/andy/.cpanplus/5.8.8/build/Test- 
Harness-2.99_04/blib/lib'
# wibble,
# t/lib,
# -I/Users/andy/.cpanplus/5.8.8/build/Test-Harness-2.99_04/blib/lib,
# /Users/andy/.cpanplus/5.8.8/build/Test-Harness-2.99_04/blib/arch,
# /Users/andy/.cpanplus/5.8.8/build/Test-Harness-2.99_04/blib,
# /opt/local/lib/perl5/5.8.8/darwin-2level,
# /opt/local/lib/perl5/5.8.8,
# /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level,
# /opt/local/lib/perl5/site_perl/5.8.8,
# /opt/local/lib/perl5/site_perl,
# /opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level,
# /opt/local/lib/perl5/vendor_perl/5.8.8,
# /opt/local/lib/perl5/vendor_perl
# -----------------
# wibble,
# t/lib,
# /Users/andy/.cpanplus/5.8.8/build/Test-Harness-2.99_04/blib/lib,
# /Users/andy/.cpanplus/5.8.8/build/Test-Harness-2.99_04/blib/arch,
# /Users/andy/.cpanplus/5.8.8/build/Test-Harness-2.99_04/blib,
# /opt/local/lib/perl5/5.8.8/darwin-2level,
# /opt/local/lib/perl5/5.8.8,
# /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level,
# /opt/local/lib/perl5/site_perl/5.8.8,
# /opt/local/lib/perl5/site_perl,
# /opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level,
# /opt/local/lib/perl5/vendor_perl/5.8.8,
# /opt/local/lib/perl5/vendor_perl
# Looks like you failed 1 test of 2.

Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/compat/inc_taint................#   Failed test at t/compat/inc- 
propagation.t line 66.
#          got: '1'
#     expected: '0'
# Looks like you failed 1 test of 2.
ok

[snip no errors]

Test Summary Report
-------------------
t/compat/inc-propagation.t    (Wstat: 256 Tests: 2 Failed: 1)
   Failed test number(s):  1
   Non-zero exit status: 1
Files=33, Tests=9821,  8 wallclock secs ( 1.20 usr  0.22 sys +  4.75  
cusr  1.99 csys =  8.16 CPU)
Result: FAIL
Failed 1/33 test programs. 1/9821 subtests failed.
make: *** [test_dynamic] Error 25

I need to find out how to run our tests under CPANPLUS without having  
to package everything up as a distro.

Today, however, I am mainly writing JavaScript and PHP to pay the  
bills :)

-- 
Andy Armstrong, Hexten





More information about the tapx-dev mailing list