Skip to content

Instantly share code, notes, and snippets.

@moritz
Created July 12, 2011 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moritz/1078839 to your computer and use it in GitHub Desktop.
Save moritz/1078839 to your computer and use it in GitHub Desktop.
nom spectest summary
Test Summary Report
-------------------
t/spec/S02-builtin_data_types/assigning-refs.rakudo (Wstat: 256 Tests: 18 Failed: 0)
Non-zero exit status: 1
t/spec/S04-declarations/my.rakudo (Wstat: 0 Tests: 68 Failed: 0)
TODO passed: 50
t/spec/S12-construction/autopairs.rakudo (Wstat: 256 Tests: 4 Failed: 0)
Non-zero exit status: 1
t/spec/S14-roles/crony.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/spec/S32-str/rindex.rakudo (Wstat: 11 Tests: 15 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 32 tests but ran 15.
Files=239, Tests=6629, 692 wallclock secs ( 3.19 usr 0.82 sys + 676.05 cusr 26.67 csys = 706.73 CPU)
Result: FAIL
./perl6 t/spec/S02-builtin_data_types/assigning-refs.rakudo
1..18
ok 1 - @array = ($arrayref,) does not flatten the arrayref
ok 2 - @array = ($arrayref) does not flatten the arrayref
ok 3 - @array = $arrayref does not flatten the arrayref
ok 4 - %hash = ($hashref,) does not flatten the hashref
not ok 5 - %hash = ($hashref) does not flatten the hashref# TODO non-flattening hash refs
# got: '3'
# expected: '0'
not ok 6 - %hash = $hashref does not flatten the hashref# TODO non-flattening hash refs
# got: '3'
# expected: '0'
ok 7 - $bar = ($foo,) does not flatten the arrayref
ok 8 - $bar = ($foo) does flatten the arrayref
ok 9 - $bar = $foo does flatten the arrayref
ok 10 - $bar = ($foo,) does not flatten the hashref
ok 11 - $bar = ($foo) does flatten the hashref
ok 12 - $bar = $foo does flatten the hashref
ok 13 - @array[0] = ($arrayref,) does not flatten the arrayref
ok 14 - @array[0] = ($arrayref) does not flatten the arrayref
ok 15 - @array[0] = $arrayref does not flatten the arrayref
ok 16 - %hash<a> = ($hashref,) does not flatten the hashref
ok 17 - %hash<a> = ($hashref) does not flatten the hashref
ok 18 - %hash<a> = $hashref does not flatten the hashref
# FUDGED!
too few arguments: 0 passed, 26201232 expected
./perl6 t/spec/S12-construction/autopairs.rakudo
1..4
ok 1 - class instantiation with autopair, no spaces
ok 2 - class instantiation with autopair, spaces
not ok 3 - role instantiation with autopair, no spaces# TODO nom regression
not ok 4 - role instantiation with autopair, spaces# TODO nom regression
# FUDGED!
invoke() not implemented in class 'Perl6::Metamodel::ParametricRoleHOW'
./perl6 t/spec/S14-roles/crony.t
1..4
Could not instantiate role 'OuterRole':
Contextual $*GLOBALish not found
current instr.: 'nqp;Perl6;Metamodel;ParametricRoleHOW;specialize' pc 34685 (src/gen/perl6-metamodel.pir:10183) (src/gen/Metamodel.pm:942)
called from Sub 'nqp;Perl6;Metamodel;ClassHOW;_block2709' pc 39079 (src/gen/perl6-metamodel.pir:12075) (src/gen/Metamodel.pm:1152)
called from Sub 'nqp;Perl6;Metamodel;ClassHOW;_block2703' pc 38938 (src/gen/perl6-metamodel.pir:0) (src/gen/Metamodel.pm:1150)
called from Sub 'nqp;Perl6;Metamodel;ClassHOW;compose' pc 38450 (src/gen/perl6-metamodel.pir:11819) (src/gen/Metamodel.pm:1148)
called from Sub 'nqp;Perl6;Metamodel;RolePunning;make_pun' pc 30392 (src/gen/perl6-metamodel.pir:0) (src/gen/Metamodel.pm:653)
called from Sub 'nqp;Perl6;Metamodel;RolePunning;find_method' pc 30547 (src/gen/perl6-metamodel.pir:8394) (src/gen/Metamodel.pm:663)
called from Sub '_block1002' pc 28 ((file unknown):0) (t/spec/S14-roles/crony.t:1)
... call repeated 1 times
called from Sub '_block1000' pc 14 ((file unknown):38276741) (t/spec/S14-roles/crony.t:1)
called from Sub 'nqp;HLL;Compiler;_block1782' pc 34160 (src/stage2/gen/NQPHLL.pir:10782) (src/stage2/gen/NQPHLL.pm:1278)
called from Sub 'nqp;HLL;Compiler;eval' pc 34018 (src/stage2/gen/NQPHLL.pir:0) (src/stage2/gen/NQPHLL.pm:1271)
called from Sub 'nqp;HLL;Compiler;evalfiles' pc 36397 (src/stage2/gen/NQPHLL.pir:11653) (src/stage2/gen/NQPHLL.pm:1437)
called from Sub 'nqp;HLL;Compiler;_block1867' pc 35317 (src/stage2/gen/NQPHLL.pir:0) (src/stage2/gen/NQPHLL.pm:1381)
called from Sub 'nqp;HLL;Compiler;command_line' pc 35122 (src/stage2/gen/NQPHLL.pir:11160) (src/stage2/gen/NQPHLL.pm:1376)
called from Sub 'MAIN' pc 638 (src/gen/perl6.pir:231) (src/main.nqp src/gen/main-version.nqp:26)
called from Sub '_block1000' pc 100 (src/gen/perl6.pir:68) (src/main.nqp src/gen/main-version.nqp:1)
./perl6 t/spec/S32-str/rindex.rakudo
1..32
ok 1 - One char, at beginning
ok 2 - One char, in the middle
ok 3 - One char, in the end
ok 4 - One char, no match
ok 5 - One char, first match, pos @ end
ok 6 - - 1. match again, pos @ match
ok 7 - - 2. match
ok 8 - - 3. match
ok 9 - - no more matches
ok 10 - Substr, at beginning
ok 11 - Substr, in the middle
ok 12 - Substr, at the end
ok 13 - Substr, no match
ok 14 - Substr eq Str
Use of uninitialized value in string context
not ok 15 - Substr is empty# TODO nom regression
Segmentation fault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment