drforr / perl6-Perl6-Parser

A tidier/formatter for Perl 6 code
23 stars 12 forks source link

Failing tests on rakudo 2018.12 #18

Open sjn opened 5 years ago

sjn commented 5 years ago

Checked out master (commit 51711e2). Tests are failing! Here are my details:

$ perl6 -v
This is Rakudo version 2018.12 built on MoarVM version 2018.12
implementing Perl 6.d.
$ git show --format=%h
51711e2
$ PERL6LIB=./lib prove -e perl6
t/00-classes.t ............. ok
    # Failed test 'document has correct hash keys'
    # at t/01-parse-text.t line 23
    # expected: $["statementlist"]
    #      got: $["lang-version", "statementlist"]
    # Looks like you failed 1 test of 11
# Failed test 'Smoketest hash structure'
# at t/01-parse-text.t line 19
# Looks like you failed 1 test of 3
t/01-parse-text.t .......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 
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
===SORRY!=== Error while compiling /home/sjn/src/perl6-Perl6-Parser/t/11-package-declarator.t
Redeclaration of symbol 'Foo'
at /home/sjn/src/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
===SORRY!=== Error while compiling /home/sjn/src/perl6-Perl6-Parser/t/13-scope-declarator.t
Redeclaration of symbol 'Foo'
at /home/sjn/src/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 
===SORRY!=== Error while compiling /home/sjn/src/perl6-Perl6-Parser/t/14-type-declarator.t
Redeclaration of symbol 'Foo'
at /home/sjn/src/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 
===SORRY!=== Error while compiling /home/sjn/src/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/sjn/src/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
===SORRY!=== Error while compiling /home/sjn/src/perl6-Perl6-Parser/t/999-regression.t
Redeclaration of symbol 'Foo'
at /home/sjn/src/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/01-parse-text.t        (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
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, 30 wallclock secs ( 0.45 usr  0.04 sys + 43.34 cusr  1.20 csys = 45.03 CPU)
Result: FAIL
cfa commented 5 years ago

+1 on this. Blocker for installing Perl6::Tidy.