Skip Menu |

This queue is for tickets about the Test-Inline CPAN distribution.

Report information
The Basics
Id: 13874
Status: open
Priority: 0/
Queue: Test-Inline

People
Owner: Nobody in particular
Requestors: lamech [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.100
Fixed in: (no value)



Subject: tests fail under CPANPLUS
If I try to install Test-Inline-2.100 via CPANPLUS, it appears to fail tests (output below); if I just run 'make test' at the command line, it passes. So, this isn't a showstopper, but I thought you might want to know about it. I have no idea if this is OS X specific, or a bug in CPANPLUS, or what (I hope to have some time later today to try this under FreeBSD and Debian-unstable). I'm also not clear on why CPANPLUS wants to run the tests twice... My perl -v: This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level (stock perl under Mac OS X v.10.3.9) The 'make test' failure output under CPANPLUS: Running [/usr/bin/make test]... PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00_compile.t t/01_api.t t/02_main.t t/03_bad_dependency.t t/04_file_handler.t t/05_check_count.t t/06_multifile.t t/07_add_directory.t t/08_add_all.t t/09_regression.t t/10_legacy_extract.t t/11_legacy_script.t t/12_content_handler.t t/99_pod.t t/00_compile............ok t/01_api................ok t/02_main............... # Failed test (t/02_main.t at line 130) # got: 'that' # expected: 'bar' # Failed test (t/02_main.t at line 131) # got: 'bar' # expected: 'that' # Looks like you failed 2 tests of 71. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 45-46 Failed 2/71 tests, 97.18% okay t/03_bad_dependency.....ok t/04_file_handler.......ok t/05_check_count........ok t/06_multifile..........ok t/07_add_directory......ok t/08_add_all............ok t/09_regression.........ok t/10_legacy_extract.....ok t/11_legacy_script......ok t/12_content_handler....ok t/99_pod................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/02_main.t 2 512 71 2 2.82% 45-46 Failed 1/14 test scripts, 92.86% okay. 2/328 subtests failed, 99.39% okay. make: *** [test_dynamic] Error 45 [ERROR] MAKE TEST failed: No such file or directory PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00_compile.t t/01_api.t t/02_main.t t/03_bad_dependency.t t/04_file_handler.t t/05_check_count.t t/06_multifile.t t/07_add_directory.t t/08_add_all.t t/09_regression.t t/10_legacy_extract.t t/11_legacy_script.t t/12_content_handler.t t/99_pod.t t/00_compile............ok t/01_api................ok t/02_main............... # Failed test (t/02_main.t at line 130) # got: 'that' # expected: 'bar' # Failed test (t/02_main.t at line 131) # got: 'bar' # expected: 'that' # Looks like you failed 2 tests of 71. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 45-46 Failed 2/71 tests, 97.18% okay t/03_bad_dependency.....ok t/04_file_handler.......ok t/05_check_count........ok t/06_multifile..........ok t/07_add_directory......ok t/08_add_all............ok t/09_regression.........ok t/10_legacy_extract.....ok t/11_legacy_script......ok t/12_content_handler....ok t/99_pod................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/02_main.t 2 512 71 2 2.82% 45-46 Failed 1/14 test scripts, 92.86% okay. 2/328 subtests failed, 99.39% okay. make: *** [test_dynamic] Error 45 [ERROR] Unable to create a new distribution object for 'Test::Inline' -- cannot continue Error installing 'Test::Inline' Problem installing one or more modules
On Tue Jul 26 10:25:50 2005, guest wrote: Show quoted text
> If I try to install Test-Inline-2.100 via CPANPLUS, it appears to fail > tests (output below); if I just run 'make test' at the command > line, it passes. So, this isn't a showstopper, but I thought you > might want to know about it. I have no idea if this is OS X > specific, or a bug in CPANPLUS, or what (I hope to have some time > later today to try this under FreeBSD and Debian-unstable). I'm > also not clear on why CPANPLUS wants to run the tests twice... > > My perl -v: > > This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level > > (stock perl under Mac OS X v.10.3.9) > > The 'make test' failure output under CPANPLUS: > > Running [/usr/bin/make test]... > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00_compile.t > t/01_api.t t/02_main.t t/03_bad_dependency.t t/04_file_handler.t > t/05_check_count.t t/06_multifile.t t/07_add_directory.t > t/08_add_all.t t/09_regression.t t/10_legacy_extract.t > t/11_legacy_script.t t/12_content_handler.t t/99_pod.t > t/00_compile............ok > t/01_api................ok > t/02_main............... > # Failed test (t/02_main.t at line 130) > # got: 'that' > # expected: 'bar' > > # Failed test (t/02_main.t at line 131) > # got: 'bar' > # expected: 'that' > # Looks like you failed 2 tests of 71. > dubious > Test returned status 2 (wstat 512, 0x200) > DIED. FAILED tests 45-46 > Failed 2/71 tests, 97.18% okay > t/03_bad_dependency.....ok > t/04_file_handler.......ok > t/05_check_count........ok > t/06_multifile..........ok > t/07_add_directory......ok > t/08_add_all............ok > t/09_regression.........ok > t/10_legacy_extract.....ok > t/11_legacy_script......ok > t/12_content_handler....ok > t/99_pod................ok > Failed Test Stat Wstat Total Fail Failed List of Failed >
------------------------------------------------------------------------------- Show quoted text
> t/02_main.t 2 512 71 2 2.82% 45-46 > Failed 1/14 test scripts, 92.86% okay. 2/328 subtests failed, 99.39% > okay. > make: *** [test_dynamic] Error 45
Test assumes stability of keys %foo (which is true for all perls != 5.8.1 for non-pathological hashes). In order to pass on perl 5.8.1 test either needs to sort the output of depends(), or Test::Inline::Script::depends() needs to be adjusted to output a stable sorted list.