Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

no prove, module installation blows up if tests fail #3078

Open p6rt opened 11 years ago

p6rt commented 11 years ago

Migrated from rt.perl.org#117151 (status was 'new')

Searchable as RT117151$

p6rt commented 11 years ago

From @szabgab

Running on Rakudo * 2013.02 on Windows I tried to install HTML​::Template first panda complained that there was no "prove" and then gave a huge error message. After installing DWIM Perl to have prove, panda went on and ran the test. Some of the tests failed that caused panda to show the big and nasty output.

running panda --notests install HTML​::Template worked after that I could read the documentation with p6doc HTML​::Template

See the output below​:

C​:\>panda install HTML​::Template ==> Fetching HTML​::Template ==> Building HTML​::Template Compiling lib/Text/Escape.pm Compiling lib/HTML/Template/Grammar.pm Compiling lib/HTML/Template.pm ==> Testing HTML​::Template 'prove' is not recognized as an internal or external command, operable program or batch file. Mu() test stage failed for HTML​::Template​: Tests failed current instr.​: '' pc 7735 ((file unknown)​:2891) (c​:\rakudo\bin\panda​:120) called from Sub 'rethrow' pc 331236 (src\gen\CORE.setting.pir​:148576) (src\gen\CORE.setting​:9250) called from Sub '' pc 2376 (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/Panda.pir​:1010) (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/P anda.pm​:101) ....

After installing a Perl 5 with a "prove" command it was a bit better, but it still blew up​:

C​:\work\Perl6-Maven>panda install HTML​::Template ==> Fetching HTML​::Template ==> Building HTML​::Template Compiling lib/Text/Escape.pm Compiling lib/HTML/Template/Grammar.pm Compiling lib/HTML/Template.pm ==> Testing HTML​::Template t/01.t ............... 10/32 Param lname is a undef in block at lib/HTML/Template.pm​:119

t/01.t ............... Failed 2/32 subtests t/08-include.t ....... Failed 4/4 subtests t/09-loop-control.t .. ok

Test Summary Report


t/01.t (Wstat​: 0 Tests​: 32 Failed​: 2)   Failed tests​: 25, 32 t/08-include.t (Wstat​: 0 Tests​: 4 Failed​: 4)   Failed tests​: 1-4 Files=3, Tests=38, 4 wallclock secs ( 0.17 usr + 0.05 sys = 0.22 CPU) Result​: FAIL Mu() test stage failed for HTML​::Template​: Tests failed current instr.​: '' pc 7735 ((file unknown)​:2891) (c​:\rakudo\bin\panda​:120) called from Sub 'rethrow' pc 331236 (src\gen\CORE.setting.pir​:148576) (src\gen\CORE.setting​:9250) called from Sub '' pc 2376 (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/Panda.pir​:1010) (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/P anda.pm​:101) called from Sub 'throw' pc 331167 (src\gen\CORE.setting.pir​:148535) (src\gen\CORE.setting​:9246) called from Sub 'die' pc 198 (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/Panda/Tester.pir​:131) (c​:/rakudo/lib/parrot/4.10.0/languages/per l6/lib/Panda/Tester.pm​:6) called from Sub '' pc 603 (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/Panda/Tester.pir​:292) (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/ lib/Panda/Tester.pm​:16) called from Sub 'withp6lib' pc 771 (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/Panda/Common.pir​:345) (c​:/rakudo/lib/parrot/4.10.0/languag es/perl6/lib/Panda/Common.pm​:31) called from Sub '' pc 487 (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/Panda/Tester.pir​:255) (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/ lib/Panda/Tester.pm​:14) called from Sub '' pc 425 (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/Panda/Tester.pir​:225) (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/ lib/Panda/Tester.pm​:13) called from Sub 'indir' pc 389 (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/Panda/Common.pir​:224) (c​:/rakudo/lib/parrot/4.10.0/languages/p erl6/lib/Panda/Common.pm​:13) called from Sub 'test' pc 302 (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/Panda/Tester.pir​:178) (c​:/rakudo/lib/parrot/4.10.0/languages/pe rl6/lib/Panda/Tester.pm​:12) called from Sub 'test-helper' pc 1753 (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/Pies.pir​:940) (c​:/rakudo/lib/parrot/4.10.0/languages/pe rl6/lib/Pies.pm​:54) called from Sub 'resolve-helper' pc 2728 (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/Pies.pir​:1305) (c​:/rakudo/lib/parrot/4.10.0/language s/perl6/lib/Pies.pm​:88) called from Sub 'resolve' pc 3349 (c​:/rakudo/lib/parrot/4.10.0/languages/perl6/lib/Pies.pir​:1519) (c​:/rakudo/lib/parrot/4.10.0/languages/perl6

....