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

Failures in Perl6::Parser module #2499

Open
AlexDaniel opened this issue Nov 19, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@AlexDaniel
Copy link
Member

commented Nov 19, 2018

See Perl6::Parser.

I fixed one issue with a PR here: drforr/perl6-Perl6-Parser#17.

However, there are other tests that are failing.

t/00-classes.t ............. ok   
t/01-parse-text.t .......... ok   
t/02-build-tree.t .......... ok   
t/03-walk.t ................ ok     
t/04-parse.t ............... ok   
t/05-iterator.t ............ ok     
t/06-editing.t ............. ok   
t/10-multi-declarator.t .... ok   
t/11-package-declarator.t .. 1/22 ===SORRY!=== Error while compiling /home/alex/git/perl6-Perl6-Parser/t/11-package-declarator.t
Redeclaration of symbol 'Foo'
at /home/alex/git/perl6-Perl6-Parser/t/11-package-declarator.t:1
------> module Foo⏏     {}
    expecting any of:
        generic role
        # Looks like you planned 4 tests, but ran 1
t/11-package-declarator.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 21/22 subtests 
t/12-regex-declarator.t .... ok   
t/13-scope-declarator.t .... 1/8 ===SORRY!=== Error while compiling /home/alex/git/perl6-Perl6-Parser/t/13-scope-declarator.t
Redeclaration of symbol 'Foo'
at /home/alex/git/perl6-Perl6-Parser/t/13-scope-declarator.t:1
------> class Foo⏏{has     $x}
    expecting any of:
        generic role
t/13-scope-declarator.t .... Dubious, test returned 1 (wstat 256, 0x100)
Failed 6/8 subtests 
t/14-type-declarator.t ..... ===SORRY!=== Error while compiling /home/alex/git/perl6-Perl6-Parser/t/14-type-declarator.t
Redeclaration of symbol 'Foo'
at /home/alex/git/perl6-Perl6-Parser/t/14-type-declarator.t:1
------> enum Foo⏏()  
        # Looks like you planned 4 tests, but ran 2
t/14-type-declarator.t ..... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/6 subtests 
t/15-routine-declarator.t .. ===SORRY!=== Error while compiling /home/alex/git/perl6-Perl6-Parser/t/15-routine-declarator.t
Redeclaration of routine 'MAIN' (already defined in package GLOBAL) (did you mean to declare a multi-sub?)
at /home/alex/git/perl6-Perl6-Parser/t/15-routine-declarator.t:2
------> <BOL>⏏<EOL>
        # Looks like you planned 2 tests, but ran 1
t/15-routine-declarator.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/6 subtests 
t/16-quote.t ............... ok     
t/999-regression.t ......... 1/? ===SORRY!=== Error while compiling /home/alex/git/perl6-Perl6-Parser/t/999-regression.t
Redeclaration of symbol 'Foo'
at /home/alex/git/perl6-Perl6-Parser/t/999-regression.t:1
------> grammar Foo⏏ {
    expecting any of:
        generic role
t/999-regression.t ......... Dubious, test returned 1 (wstat 256, 0x100)
All 4 subtests passed 
t/comments.t ............... ok   
t/declaration.t ............ ok   
t/operators.t .............. ok     
t/pair.t ................... ok     
t/pod.t .................... ok   
t/regex.t .................. ok   
t/single-term.t ............ ok     
t/subroutine.t ............. ok   

Test Summary Report
-------------------
t/11-package-declarator.t (Wstat: 65280 Tests: 1 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 22 tests but ran 1.
t/13-scope-declarator.t  (Wstat: 256 Tests: 2 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 8 tests but ran 2.
t/14-type-declarator.t   (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
t/15-routine-declarator.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
t/999-regression.t       (Wstat: 256 Tests: 4 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=23, Tests=211, 34 wallclock secs ( 0.59 usr  0.05 sys + 48.12 cusr  1.54 csys = 50.30 CPU)
Result: FAIL

@AlexDaniel AlexDaniel added the BLOCKER label Nov 19, 2018

@AlexDaniel AlexDaniel referenced this issue Nov 19, 2018

Closed

Pre-2018.11 toasting #2451

40 of 40 tasks complete
@AlexDaniel

This comment has been minimized.

Copy link
Member Author

commented Nov 19, 2018

Also see Perl6::Tidy:

t/10-indent.t .... ===SORRY!=== Error while compiling /home/alex/git/perl6-Perl6-Tidy/t/10-indent.t
Redeclaration of symbol 'A'
at /home/alex/git/perl6-Perl6-Tidy/t/10-indent.t:1
------> class A⏏ {     method run()     {     my $i = 0;
    expecting any of:
        generic role
t/10-indent.t .... Dubious, test returned 1 (wstat 256, 0x100)
No subtests run 
t/11-comment.t ... ok   
t/12-operator.t .. ok   
t/meta.t ......... ok   

Test Summary Report
-------------------
t/10-indent.t  (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=5, Tests=8, 14 wallclock secs ( 0.04 usr  0.01 sys + 19.82 cusr  0.94 csys = 20.81 CPU)
Result: FAIL
@dogbert17

This comment has been minimized.

Copy link
Contributor

commented Nov 24, 2018

Bisected to 46ef0ea

@AlexDaniel

This comment has been minimized.

Copy link
Member Author

commented Nov 24, 2018

@dogbert17 with or without this PR? drforr/perl6-Perl6-Parser#17
Without that PR it was bisected to 46ef0ea in #2451.

@AlexDaniel AlexDaniel removed the BLOCKER label Nov 27, 2018

@AlexDaniel

This comment has been minimized.

Copy link
Member Author

commented Nov 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.