Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
p6rt opened this issue Mar 13, 2013 · 1 comment
Open

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

p6rt opened this issue Mar 13, 2013 · 1 comment
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 13, 2013

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

Searchable as RT117151$

@p6rt
Copy link
Author

p6rt commented Mar 13, 2013

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

....

@p6rt p6rt added the build label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant