Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A patch to let Main.pm output a usage message instead of dieing due to bind failure when passed --help or other unexpected named parameters
From fd9b8428a96d9fbbe8e19d9c89fffda6e7e15dd4 Mon Sep 17 00:00:00 2001
From: Felix Herrmann <felix@herrmann-koenigsberg.de>
Date: Mon, 30 Jul 2012 12:06:00 +0200
Subject: [PATCH] make Main.pm output a usage message on an unexpected named
argument instead of bind failing
---
src/core/Main.pm | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/src/core/Main.pm b/src/core/Main.pm
index 5c4489f..9e832f4 100644
--- a/src/core/Main.pm
+++ b/src/core/Main.pm
@@ -146,14 +146,27 @@ my sub MAIN_HELPER($retval = 0) is hidden_from_backtrace {
return $usage;
}
+ sub has-unexpected-named-arguments($signature, %named-arguments) {
+ my %accepts-argument = $signature.params.grep({ .named }).map({ .named_names }) Z=> 1 xx *;
+ for %named-arguments.keys -> $name {
+ return True if !%accepts-argument{$name}
+ }
+
+ return False;
+ }
+
# Process command line arguments
my ($p, $n) = process-cmd-args(@*ARGS).lol;
# Generate default $?USAGE message
my $?USAGE = gen-usage();
- # If dispatch to MAIN is possible, do so
- if $m.candidates_matching(|@($p), |%($n)).elems {
+ # Get a list of candidates that match according to the dispatcher
+ my @matching_candidates = $m.candidates_matching(|@($p), |%($n));
+ # Sort out all that would fail due to binding
+ @matching_candidates .=grep: {!has-unexpected-named-arguments($_.signature, $n)};
+ # If there are still some candidates left, try to dispatch to MAIN
+ if +@matching_candidates {
return $m(|@($p), |%($n));
}
--
1.7.8.6
1 0 felher@localhost [ ~/sources/perl6/rakudo_nom ] %> nom t/spec/S16-filehandles/filestat.t
1..13
# Using file temp-16-filehandles-filestat-19230-1.temp
# Using file temp-16-filehandles-filestat-19230-2.temp
ok 1 - IO.modified should be greater than pre-creation timestamp
ok 2 - IO.changed should be greater than pre-creation timestamp
ok 3 - IO.accessed should be greater than pre-creation timestamp
ok 4 - IO.modified should be updated when file content changes
ok 5 - IO.changed should be updated when file content changes
ok 6 - IO.accessed should NOT be updated when file is opened for writing
ok 7 - IO.accessed should NOT be updated when file is opened for reading
not ok 8 - IO.accessed should be updated when contents of file is read
ok 9 - IO.modified should NOT be updated when file mode is altered
ok 10 - IO.changed should be updated when file mode is altered
ok 11 - IO.changed and IO.modified should differ after file mode change
ok 12 - Test file temp-16-filehandles-filestat-19230-1.temp was successfully removed
ok 13 - Test file temp-16-filehandles-filestat-19230-2.temp was successfully removed
# Looks like you failed 1 tests of 13
this segfault only happens with the file as is. If i just put a 'say "hi";' somewhere, i don't get the segfault
1 20 felher@localhost [ ~/sources/perl6/rakudo_nom ] %> nom t/spec/S32-array/splice.rakudo
1..37
ok 1 - push-via-splice result works
ok 2 - push-via-splice modification works
ok 3 - push-via-splice result works
ok 4 - push-via-splice modification works
ok 5 - splice() in scalar context returns an array references
ok 6 - Single-arg splice returns the whole array - results match
ok 7 - Single-arg splice returns the whole array - array got modified in-place
ok 8 - 3-arg positive indices work - results match
ok 9 - 3-arg positive indices work - array got modified in-place
ok 10 - Simple 3-arg splice - results match
ok 11 - Simple 3-arg splice - array got modified in-place
ok 12 - 2-arg positive indices work - results match
ok 13 - 2-arg positive indices work - array got modified in-place
ok 14 - # SKIP needs WhateverCode args
ok 15 - # SKIP needs WhateverCode args
ok 16 - # SKIP needs WhateverCode args
ok 17 - # SKIP needs WhateverCode args
ok 18 - Prepending values works - results match
ok 19 - Prepending values works - array got modified in-place
ok 20 - Replacing an element with itself - results match
ok 21 - Replacing an element with itself - array got modified in-place
ok 22 - Appending an array - results match
ok 23 - Appending an array - array got modified in-place
ok 24 - # SKIP needs WhateverCode args
ok 25 - # SKIP needs WhateverCode args
ok 26 - # SKIP needs WhateverCode args
ok 27 - # SKIP needs WhateverCode args
ok 28 - # SKIP needs WhateverCode args
ok 29 - # SKIP needs WhateverCode args
ok 30 - Calling splice with immediate and indirect context returns consistent results
ok 31 - Explicit call/assignment gives the expected results
ok 32 - Implicit context gives the expected results
ok 33 - Explicit scalar context returns an array reference
ok 34 - ... empty arrays are not fatal anymore
ok 35 - .splice should not work on scalars
zsh: segmentation fault nom t/spec/S32-array/splice.rakudo
TESTJOBS=8 make spectest
cd t/spec && git pull
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 8 (delta 4), reused 8 (delta 4)
Unpacking objects: 100% (8/8), done.
From git://github.com/perl6/roast
25cc0f0..f0f43c4 master -> origin/master
First, rewinding head to replay your work on top of it...
Fast-forwarded master to f0f43c4bac454128657a78808270ad2714326188.
/usr/bin/perl5.16.0 t/harness --fudge --keep-exit-code --icu=1 --tests-from-file=t/spectest.data
t/spec/S02-lexical-conventions/begin_end_pod.t ............ ok
t/spec/S02-lexical-conventions/comments.rakudo ............ ok
t/spec/S02-lexical-conventions/end-pod.t .................. ok
t/spec/S02-lexical-conventions/minimal-whitespace.t ....... ok
t/spec/S02-lexical-conventions/one-pass-parsing.t ......... ok
t/spec/S02-lexical-conventions/pod-in-multi-line-exprs.t .. ok
t/spec/S02-lexical-conventions/sub-block-parsing.rakudo ... ok
t/spec/S02-lexical-conventions/unicode-whitespace.t ....... ok
t/spec/S02-lexical-conventions/unicode.rakudo ............. ok
t/spec/S02-lexical-conventions/unspace.rakudo ............. ok
t/spec/S02-lists/tree.rakudo .............................. ok
t/spec/S02-literals/array-interpolation.t ................. ok
t/spec/S02-literals/autoref.t ............................. ok
t/spec/S02-literals/char-by-name.rakudo ................... Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
t/spec/S02-literals/char-by-number.rakudo ................. ok
t/spec/S02-literals/fmt-interpolation.t ................... ok
t/spec/S02-literals/hash-interpolation.t .................. ok
t/spec/S02-literals/hex_chars.t ........................... ok
t/spec/S02-literals/listquote-whitespace.rakudo ........... ok
t/spec/S02-literals/listquote.rakudo ...................... ok
t/spec/S02-literals/misc-interpolation.rakudo ............. ok
t/spec/S02-literals/numeric.t ............................. ok
t/spec/S02-literals/pair-boolean.t ........................ ok
t/spec/S02-literals/pairs.rakudo .......................... ok
t/spec/S02-literals/quoting-unicode.t ..................... ok
t/spec/S02-literals/quoting.rakudo ........................ ok
t/spec/S02-literals/radix.rakudo .......................... ok
t/spec/S02-literals/string-interpolation.t ................ ok
t/spec/S02-literals/sub-calls.t ........................... ok
t/spec/S02-literals/subscript.t ........................... ok
t/spec/S02-literals/types.t ............................... ok
t/spec/S02-literals/underscores.t ......................... ok
t/spec/S02-literals/version.rakudo ........................ ok
t/spec/S02-magicals/args.t ................................ ok
t/spec/S02-magicals/config.rakudo ......................... ok
t/spec/S02-magicals/dollar-underscore.rakudo .............. ok
t/spec/S02-magicals/dollar_bang.rakudo .................... ok
t/spec/S02-magicals/env.rakudo ............................ ok
t/spec/S02-magicals/file_line.t ........................... ok
t/spec/S02-magicals/pid.t ................................. ok
t/spec/S02-magicals/progname.t ............................ ok
t/spec/S02-magicals/sub.rakudo ............................ ok
t/spec/S02-names-vars/contextual.t ........................ ok
t/spec/S02-names-vars/fmt.rakudo .......................... ok
t/spec/S02-names-vars/list_array_perl.rakudo .............. ok
t/spec/S02-names-vars/names.rakudo ........................ ok
t/spec/S02-names-vars/perl.rakudo ......................... ok
t/spec/S02-names-vars/variables-and-packages.rakudo ....... ok
t/spec/S02-names-vars/varnames.rakudo ..................... ok
t/spec/S02-names/caller.rakudo ............................ ok
t/spec/S02-names/identifier.t ............................. ok
t/spec/S02-names/our.rakudo ............................... ok
t/spec/S02-names/pseudo.rakudo ............................ ok
t/spec/S02-names/symbolic-deref.rakudo .................... ok
t/spec/S02-one-pass-parsing/less-than.t ................... ok
t/spec/S02-packages/package-lookup.t ...................... ok
t/spec/S02-types/anon_block.rakudo ........................ ok
t/spec/S02-types/array.rakudo ............................. ok
t/spec/S02-types/array_extending.t ........................ ok
t/spec/S02-types/array_ref.rakudo ......................... ok
t/spec/S02-types/assigning-refs.rakudo .................... ok
t/spec/S02-types/autovivification.rakudo .................. ok
t/spec/S02-types/bag.rakudo ............................... ok
t/spec/S02-types/bool.t ................................... ok
t/spec/S02-types/capture.rakudo ........................... ok
t/spec/S02-types/catch_type_cast_mismatch.rakudo .......... ok
t/spec/S02-types/declare.rakudo ........................... ok
t/spec/S02-types/fatrat.t ................................. ok
t/spec/S02-types/flattening.t ............................. ok
t/spec/S02-types/hash.t ................................... ok
t/spec/S02-types/hash_ref.t ............................... ok
t/spec/S02-types/infinity.rakudo .......................... ok
t/spec/S02-types/instants-and-durations.t ................. ok
t/spec/S02-types/keybag.rakudo ............................ ok
t/spec/S02-types/keyset.rakudo ............................ ok
t/spec/S02-types/lists.rakudo ............................. ok
t/spec/S02-types/mixed_multi_dimensional.rakudo ........... ok
t/spec/S02-types/multi_dimensional_array.rakudo ........... ok
t/spec/S02-types/nan.rakudo ............................... ok
t/spec/S02-types/native.t ................................. ok
t/spec/S02-types/nested_arrays.t .......................... ok
t/spec/S02-types/nested_pairs.t ........................... ok
t/spec/S02-types/nil.rakudo ............................... ok
t/spec/S02-types/num.t .................................... ok
t/spec/S02-types/pair.rakudo .............................. ok
t/spec/S02-types/parcel.t ................................. ok
t/spec/S02-types/parsing-bool.t ........................... ok
t/spec/S02-types/range.rakudo ............................. ok
t/spec/S02-types/set.rakudo ............................... ok
t/spec/S02-types/sigils-and-types.rakudo .................. ok
t/spec/S02-types/subscripts_and_context.t ................. ok
t/spec/S02-types/subset.rakudo ............................ ok
t/spec/S02-types/type.rakudo .............................. ok
t/spec/S02-types/undefined-types.t ........................ ok
t/spec/S02-types/version.t ................................ ok
t/spec/S02-types/whatever.rakudo .......................... ok
t/spec/S03-binding/arrays.rakudo .......................... ok
t/spec/S03-binding/attributes.rakudo ...................... ok
t/spec/S03-binding/closure.t .............................. ok
t/spec/S03-binding/hashes.t ............................... ok
t/spec/S03-binding/nested.t ............................... ok
t/spec/S03-binding/ro.rakudo .............................. ok
t/spec/S03-binding/scalars.rakudo ......................... ok
t/spec/S03-feeds/basic.rakudo ............................. ok
t/spec/S03-junctions/associative.t ........................ ok
t/spec/S03-junctions/autothreading.t ...................... ok
t/spec/S03-junctions/boolean-context.rakudo ............... ok
t/spec/S03-junctions/misc.rakudo .......................... ok
t/spec/S03-metaops/cross.rakudo ........................... ok
t/spec/S03-metaops/eager-hyper.rakudo ..................... ok
t/spec/S03-metaops/hyper.rakudo ........................... ok
t/spec/S03-metaops/not.rakudo ............................. ok
t/spec/S03-metaops/reduce.rakudo .......................... ok
t/spec/S03-metaops/reverse.t .............................. ok
t/spec/S03-metaops/zip.rakudo ............................. ok
t/spec/S03-operators/also.rakudo .......................... ok
t/spec/S03-operators/arith.rakudo ......................... ok
t/spec/S03-operators/assign-is-not-binding.t .............. ok
t/spec/S03-operators/assign.rakudo ........................ ok
t/spec/S03-operators/autoincrement-range.t ................ ok
t/spec/S03-operators/autoincrement.t ...................... ok
t/spec/S03-operators/autovivification.t ................... ok
t/spec/S03-operators/basic-types.t ........................ ok
t/spec/S03-operators/bit.t ................................ ok
t/spec/S03-operators/boolean-bitwise.rakudo ............... ok
t/spec/S03-operators/brainos.rakudo ....................... ok
t/spec/S03-operators/buf.t ................................ ok
t/spec/S03-operators/chained-declarators.t ................ ok
t/spec/S03-operators/cmp.t ................................ ok
t/spec/S03-operators/comparison-simple.t .................. ok
t/spec/S03-operators/comparison.rakudo .................... ok
t/spec/S03-operators/context-forcers.rakudo ............... ok
t/spec/S03-operators/context.rakudo ....................... ok
t/spec/S03-operators/equality.t ........................... ok
t/spec/S03-operators/eqv.rakudo ........................... ok
t/spec/S03-operators/flip-flop.rakudo ..................... ok
t/spec/S03-operators/gcd.t ................................ ok
t/spec/S03-operators/identity.rakudo ...................... ok
t/spec/S03-operators/increment.rakudo ..................... ok
t/spec/S03-operators/inplace.rakudo ....................... ok
t/spec/S03-operators/is-divisible-by.t .................... ok
t/spec/S03-operators/lcm.t ................................ ok
t/spec/S03-operators/list-quote-junction.t ................ ok
t/spec/S03-operators/minmax.rakudo ........................ ok
t/spec/S03-operators/misc.rakudo .......................... ok
t/spec/S03-operators/names.t .............................. ok
t/spec/S03-operators/nesting.t ............................ ok
t/spec/S03-operators/not.rakudo ........................... ok
t/spec/S03-operators/overflow.rakudo ...................... ok
t/spec/S03-operators/precedence.rakudo .................... ok
t/spec/S03-operators/range-basic.t ........................ ok
t/spec/S03-operators/range.rakudo ......................... ok
t/spec/S03-operators/reduce-le1arg.rakudo ................. ok
t/spec/S03-operators/relational.t ......................... ok
t/spec/S03-operators/repeat.t ............................. ok
t/spec/S03-operators/scalar-assign.t ...................... ok
t/spec/S03-operators/short-circuit.rakudo ................. ok
t/spec/S03-operators/so.rakudo ............................ ok
t/spec/S03-operators/spaceship-and-containers.t ........... ok
t/spec/S03-operators/spaceship.rakudo ..................... ok
t/spec/S03-operators/subscript-vs-lt.rakudo ............... ok
t/spec/S03-operators/ternary.t ............................ ok
t/spec/S03-operators/value_equivalence.rakudo ............. ok
t/spec/S03-sequence/arity-2-or-more.t ..................... ok
t/spec/S03-sequence/arity0.t .............................. ok
t/spec/S03-sequence/basic.rakudo .......................... ok
t/spec/S03-sequence/nonnumeric.rakudo ..................... ok
t/spec/S03-smartmatch/any-any.t ........................... ok
t/spec/S03-smartmatch/any-array.rakudo .................... ok
t/spec/S03-smartmatch/any-bool.t .......................... ok
t/spec/S03-smartmatch/any-callable.t ...................... ok
t/spec/S03-smartmatch/any-complex.t ....................... ok
t/spec/S03-smartmatch/any-hash-pair.t ..................... ok
t/spec/S03-smartmatch/any-hash.rakudo ..................... ok
t/spec/S03-smartmatch/any-method.t ........................ ok
t/spec/S03-smartmatch/any-num.rakudo ...................... ok
t/spec/S03-smartmatch/any-pair.t .......................... ok
t/spec/S03-smartmatch/any-str.rakudo ...................... ok
t/spec/S03-smartmatch/any-sub.t ........................... ok
t/spec/S03-smartmatch/any-type.t .......................... ok
t/spec/S03-smartmatch/array-array.rakudo .................. ok
t/spec/S03-smartmatch/array-hash.t ........................ ok
t/spec/S03-smartmatch/disorganized.t ...................... ok
t/spec/S03-smartmatch/hash-hash.rakudo .................... ok
t/spec/S03-smartmatch/range-range.t ....................... ok
t/spec/S03-smartmatch/regex-hash.t ........................ ok
t/spec/S03-smartmatch/scalar-hash.t ....................... ok
t/spec/S04-blocks-and-statements/let.t .................... ok
t/spec/S04-blocks-and-statements/pointy-rw.rakudo ......... ok
t/spec/S04-blocks-and-statements/pointy.rakudo ............ ok
t/spec/S04-blocks-and-statements/temp.rakudo .............. ok
t/spec/S04-declarations/constant.rakudo ................... ok
t/spec/S04-declarations/implicit-parameter.rakudo ......... ok
t/spec/S04-declarations/multiple.rakudo ................... ok
t/spec/S04-declarations/my.rakudo ......................... ok
t/spec/S04-declarations/state.rakudo ...................... ok
t/spec/S04-exception-handlers/catch.t ..................... ok
t/spec/S04-exceptions/fail.t .............................. ok
t/spec/S04-phasers/ascending-order.t ...................... ok
t/spec/S04-phasers/begin.rakudo ........................... ok
t/spec/S04-phasers/check.t ................................ ok
t/spec/S04-phasers/descending-order.t ..................... ok
t/spec/S04-phasers/end.rakudo ............................. ok
t/spec/S04-phasers/enter-leave.rakudo ..................... ok
t/spec/S04-phasers/first.t ................................ ok
t/spec/S04-phasers/keep-undo.t ............................ ok
t/spec/S04-phasers/multiple.t ............................. ok
t/spec/S04-phasers/next.rakudo ............................ ok
t/spec/S04-phasers/pre-post.rakudo ........................ ok
t/spec/S04-phasers/rvalue.rakudo .......................... ok
t/spec/S04-phasers/start.t ................................ ok
t/spec/S04-statement-modifiers/for.t ...................... ok
t/spec/S04-statement-modifiers/given.t .................... ok
t/spec/S04-statement-modifiers/if.t ....................... ok
t/spec/S04-statement-modifiers/unless.t ................... ok
t/spec/S04-statement-modifiers/until.t .................... ok
t/spec/S04-statement-modifiers/values_in_bool_context.t ... ok
t/spec/S04-statement-modifiers/while.t .................... ok
t/spec/S04-statement-parsing/hash.t ....................... ok
t/spec/S04-statements/do.rakudo ........................... ok
t/spec/S04-statements/for-scope.t ......................... ok
t/spec/S04-statements/for.rakudo .......................... ok
t/spec/S04-statements/for_with_only_one_item.t ............ ok
t/spec/S04-statements/gather.rakudo ....................... ok
t/spec/S04-statements/given.t ............................. ok
t/spec/S04-statements/if.t ................................ ok
t/spec/S04-statements/last.rakudo ......................... ok
t/spec/S04-statements/lazy.rakudo ......................... ok
t/spec/S04-statements/loop.t .............................. ok
t/spec/S04-statements/map-and-sort-in-for.t ............... ok
t/spec/S04-statements/next.rakudo ......................... ok
t/spec/S04-statements/no-implicit-block.t ................. ok
t/spec/S04-statements/redo.t .............................. ok
t/spec/S04-statements/repeat.t ............................ ok
t/spec/S04-statements/return.t ............................ ok
t/spec/S04-statements/terminator.rakudo ................... ok
t/spec/S04-statements/try.rakudo .......................... ok
t/spec/S04-statements/unless.t ............................ ok
t/spec/S04-statements/until.t ............................. ok
t/spec/S04-statements/while.t ............................. ok
t/spec/S05-capture/caps.rakudo ............................ ok
t/spec/S05-capture/dot.rakudo ............................. ok
t/spec/S05-capture/match-object.rakudo .................... ok
t/spec/S05-capture/named.rakudo ........................... ok
t/spec/S05-capture/subrule.t .............................. ok
t/spec/S05-grammar/action-stubs.t ......................... ok
t/spec/S05-grammar/inheritance.rakudo ..................... ok
t/spec/S05-grammar/methods.t .............................. ok
t/spec/S05-grammar/namespace.t ............................ ok
t/spec/S05-grammar/parse_and_parsefile.t .................. ok
t/spec/S05-grammar/polymorphism.t ......................... ok
t/spec/S05-grammar/protoregex.t ........................... ok
t/spec/S05-grammar/protos.t ............................... ok
t/spec/S05-grammar/signatures.t ........................... ok
t/spec/S05-grammar/ws.rakudo .............................. ok
t/spec/S05-interpolation/lexicals.t ....................... ok
t/spec/S05-interpolation/regex-in-variable.rakudo ......... ok
t/spec/S05-mass/named-chars.rakudo ........................ Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
t/spec/S05-mass/properties-block.rakudo ................... Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
t/spec/S05-mass/properties-derived.rakudo ................. Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
t/spec/S05-mass/properties-general.rakudo ................. Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
t/spec/S05-mass/properties-script.rakudo .................. ok
t/spec/S05-mass/recursive.t ............................... ok
t/spec/S05-mass/rx.rakudo ................................. ok
t/spec/S05-mass/stdrules.rakudo ........................... ok
t/spec/S05-match/arrayhash.t .............................. ok
t/spec/S05-match/blocks.rakudo ............................ ok
t/spec/S05-match/capturing-contexts.rakudo ................ ok
t/spec/S05-match/make.rakudo .............................. ok
t/spec/S05-match/non-capturing.t .......................... ok
t/spec/S05-match/positions.rakudo ......................... ok
t/spec/S05-metachars/closure.rakudo ....................... ok
t/spec/S05-metachars/line-anchors.t ....................... ok
t/spec/S05-metachars/newline.rakudo ....................... ok
t/spec/S05-metachars/tilde.rakudo ......................... ok
t/spec/S05-metasyntax/angle-brackets.rakudo ............... ok
t/spec/S05-metasyntax/assertions.t ........................ ok
t/spec/S05-metasyntax/changed.t ........................... ok
t/spec/S05-metasyntax/charset.rakudo ...................... ok
t/spec/S05-metasyntax/interpolating-closure.rakudo ........ ok
t/spec/S05-metasyntax/longest-alternative.rakudo .......... ok
t/spec/S05-metasyntax/lookaround.t ........................ ok
t/spec/S05-metasyntax/null.t .............................. ok
t/spec/S05-metasyntax/prior.t ............................. ok
t/spec/S05-metasyntax/proto-token-ltm.t ................... ok
t/spec/S05-metasyntax/regex.rakudo ........................ ok
t/spec/S05-metasyntax/repeat.rakudo ....................... ok
t/spec/S05-metasyntax/sequential-alternation.rakudo ....... ok
t/spec/S05-metasyntax/single-quotes.t ..................... ok
t/spec/S05-metasyntax/unknown.rakudo ...................... ok
t/spec/S05-modifier/continue.t ............................ ok
t/spec/S05-modifier/counted-match.rakudo .................. ok
t/spec/S05-modifier/counted.rakudo ........................ ok
t/spec/S05-modifier/global.t .............................. ok
t/spec/S05-modifier/ignorecase.rakudo ..................... ok
t/spec/S05-modifier/ii.rakudo ............................. ok
t/spec/S05-modifier/overlapping.rakudo .................... ok
t/spec/S05-modifier/pos.rakudo ............................ ok
t/spec/S05-modifier/repetition.rakudo ..................... ok
t/spec/S05-modifier/sigspace.t ............................ ok
t/spec/S05-substitution/match.t ........................... ok
t/spec/S05-substitution/subst.rakudo ...................... ok
t/spec/S05-transliteration/trans.rakudo ................... ok
t/spec/S05-transliteration/with-closure.rakudo ............ ok
t/spec/S06-advanced/callframe.rakudo ...................... ok
t/spec/S06-advanced/callsame.t ............................ ok
t/spec/S06-advanced/lexical-subs.rakudo ................... ok
t/spec/S06-advanced/recurse.t ............................. ok
t/spec/S06-advanced/return.rakudo ......................... ok
t/spec/S06-advanced/wrap.rakudo ........................... ok
t/spec/S06-currying/assuming-and-mmd.t .................... ok
t/spec/S06-currying/named.t ............................... ok
t/spec/S06-macros/macros-d1.t ............................. ok
t/spec/S06-macros/opaque-ast.rakudo ....................... ok
t/spec/S06-multi/lexical-multis.rakudo .................... ok
t/spec/S06-multi/positional-vs-named.rakudo ............... ok
t/spec/S06-multi/proto.rakudo ............................. ok
t/spec/S06-multi/redispatch.t ............................. ok
t/spec/S06-multi/syntax.rakudo ............................ ok
t/spec/S06-multi/type-based.rakudo ........................ ok
t/spec/S06-multi/unpackability.t .......................... ok
t/spec/S06-multi/value-based.t ............................ ok
t/spec/S06-operator-overloading/imported-subs.t ........... ok
t/spec/S06-operator-overloading/methods.rakudo ............ ok
t/spec/S06-operator-overloading/sub.rakudo ................ ok
t/spec/S06-operator-overloading/workout.t ................. ok
t/spec/S06-other/anon-hashes-vs-blocks.t .................. ok
t/spec/S06-other/main-eval.rakudo ......................... ok
t/spec/S06-other/main-usage.rakudo ........................ ok
t/spec/S06-other/main.t ................................... ok
t/spec/S06-other/misc.t ................................... ok
t/spec/S06-routine-modifiers/lvalue-subroutines.rakudo .... ok
t/spec/S06-routine-modifiers/proxy.t ...................... ok
t/spec/S06-routine-modifiers/scoped-named-subs.t .......... ok
t/spec/S06-signature/arity.t .............................. ok
t/spec/S06-signature/closure-over-parameters.t ............ ok
t/spec/S06-signature/closure-parameters.rakudo ............ ok
t/spec/S06-signature/code.rakudo .......................... ok
t/spec/S06-signature/defaults.t ........................... ok
t/spec/S06-signature/errors.t ............................. ok
t/spec/S06-signature/introspection.rakudo ................. ok
t/spec/S06-signature/mixed-placeholders.t ................. ok
t/spec/S06-signature/multidimensional.t ................... ok
t/spec/S06-signature/named-parameters.rakudo .............. ok
t/spec/S06-signature/named-placeholders.t ................. ok
t/spec/S06-signature/named-renaming.t ..................... ok
t/spec/S06-signature/optional.t ........................... ok
t/spec/S06-signature/passing-arrays.t ..................... ok
t/spec/S06-signature/passing-hashes.t ..................... ok
t/spec/S06-signature/positional-placeholders.t ............ ok
t/spec/S06-signature/positional.t ......................... ok
t/spec/S06-signature/scalar-type.t ........................ ok
t/spec/S06-signature/slurpy-and-interpolation.t ........... ok
t/spec/S06-signature/slurpy-params.rakudo ................. ok
t/spec/S06-signature/slurpy-placeholders.t ................ ok
t/spec/S06-signature/sub-ref.rakudo ....................... ok
t/spec/S06-signature/tree-node-parameters.rakudo .......... ok
t/spec/S06-signature/type-capture.rakudo .................. ok
t/spec/S06-signature/types.t .............................. ok
t/spec/S06-signature/unpack-array.t ....................... ok
t/spec/S06-signature/unpack-object.t ...................... ok
t/spec/S06-signature/unspecified.rakudo ................... ok
t/spec/S06-traits/is-copy.t ............................... ok
t/spec/S06-traits/is-readonly.rakudo ...................... ok
t/spec/S06-traits/is-rw.rakudo ............................ ok
t/spec/S06-traits/misc.rakudo ............................. ok
t/spec/S09-autovivification/autoincrement.t ............... ok
t/spec/S09-autovivification/autovivification.rakudo ....... ok
t/spec/S09-hashes/objecthash.rakudo ....................... ok
t/spec/S09-subscript/slice.rakudo ......................... ok
t/spec/S09-typed-arrays/arrays.rakudo ..................... ok
t/spec/S09-typed-arrays/hashes.rakudo ..................... ok
t/spec/S10-packages/basic.rakudo .......................... ok
t/spec/S10-packages/joined-namespaces.t ................... ok
t/spec/S10-packages/use-with-class.t ...................... ok
t/spec/S11-modules/import-tag.t ........................... ok
t/spec/S11-modules/import.rakudo .......................... ok
t/spec/S11-modules/importing.t ............................ ok
t/spec/S11-modules/lexical.t .............................. ok
t/spec/S11-modules/need.t ................................. ok
t/spec/S11-modules/nested.t ............................... ok
t/spec/S11-modules/require.t .............................. ok
t/spec/S12-attributes/class.rakudo ........................ ok
t/spec/S12-attributes/clone.t ............................. ok
t/spec/S12-attributes/defaults.t .......................... ok
t/spec/S12-attributes/delegation.t ........................ ok
t/spec/S12-attributes/inheritance.t ....................... ok
t/spec/S12-attributes/instance.rakudo ..................... ok
t/spec/S12-attributes/mutators.rakudo ..................... ok
t/spec/S12-attributes/recursive.t ......................... ok
t/spec/S12-attributes/undeclared.t ........................ ok
t/spec/S12-class/anonymous.rakudo ......................... ok
t/spec/S12-class/attributes.rakudo ........................ ok
t/spec/S12-class/augment-supersede.rakudo ................. ok
t/spec/S12-class/basic.rakudo ............................. ok
t/spec/S12-class/declaration-order.t ...................... ok
t/spec/S12-class/extending-arrays.t ....................... ok
t/spec/S12-class/inheritance-class-methods.t .............. ok
t/spec/S12-class/inheritance.t ............................ ok
t/spec/S12-class/instantiate.rakudo ....................... ok
t/spec/S12-class/lexical.t ................................ ok
t/spec/S12-class/literal.t ................................ ok
t/spec/S12-class/magical-vars.t ........................... ok
t/spec/S12-class/mro.t .................................... ok
t/spec/S12-class/namespaced.t ............................. ok
t/spec/S12-class/open.rakudo .............................. ok
t/spec/S12-class/rw.t ..................................... ok
t/spec/S12-class/self-inheritance.t ....................... ok
t/spec/S12-class/stubs.rakudo ............................. ok
t/spec/S12-class/type-object.t ............................ ok
t/spec/S12-construction/BUILD.rakudo ...................... ok
t/spec/S12-construction/autopairs.rakudo .................. ok
t/spec/S12-construction/construction.rakudo ............... ok
t/spec/S12-construction/named-params-in-BUILD.t ........... ok
t/spec/S12-construction/new.rakudo ........................ ok
t/spec/S12-enums/anonymous.t .............................. ok
t/spec/S12-enums/as-role.t ................................ ok
t/spec/S12-enums/basic.rakudo ............................. ok
t/spec/S12-enums/misc.rakudo .............................. ok
t/spec/S12-enums/non-int.rakudo ........................... ok
t/spec/S12-enums/pseudo-functional.t ...................... ok
t/spec/S12-enums/thorough.rakudo .......................... ok
t/spec/S12-introspection/attributes.rakudo ................ ok
t/spec/S12-introspection/can.t ............................ ok
t/spec/S12-introspection/definite.t ....................... ok
t/spec/S12-introspection/meta-class.rakudo ................ ok
t/spec/S12-introspection/methods.rakudo ................... ok
t/spec/S12-introspection/parents.t ........................ ok
t/spec/S12-introspection/roles.rakudo ..................... ok
t/spec/S12-introspection/walk.t ........................... ok
t/spec/S12-methods/accessors.t ............................ ok
t/spec/S12-methods/attribute-params.t ..................... ok
t/spec/S12-methods/calling_sets.rakudo .................... ok
t/spec/S12-methods/calling_syntax.t ....................... ok
t/spec/S12-methods/chaining.t ............................. ok
t/spec/S12-methods/class-and-instance.t ................... ok
t/spec/S12-methods/default-trait.t ........................ ok
t/spec/S12-methods/defer-call.t ........................... ok
t/spec/S12-methods/defer-next.rakudo ...................... ok
t/spec/S12-methods/how.t .................................. ok
t/spec/S12-methods/indirect_notation.rakudo ............... ok
t/spec/S12-methods/instance.rakudo ........................ ok
t/spec/S12-methods/lastcall.t ............................. ok
t/spec/S12-methods/lvalue.t ............................... ok
t/spec/S12-methods/method-vs-sub.rakudo ................... ok
t/spec/S12-methods/multi.rakudo ........................... ok
t/spec/S12-methods/parallel-dispatch.rakudo ............... ok
t/spec/S12-methods/private.rakudo ......................... ok
t/spec/S12-methods/submethods.rakudo ...................... ok
t/spec/S12-methods/syntax.rakudo .......................... ok
t/spec/S12-methods/topic.t ................................ ok
t/spec/S12-methods/trusts.t ............................... ok
t/spec/S12-methods/typed-attributes.t ..................... ok
t/spec/S12-methods/what.t ................................. ok
t/spec/S12-subset/multi-dispatch.t ........................ ok
t/spec/S12-subset/subtypes.rakudo ......................... ok
t/spec/S13-overloading/metaoperators.t .................... ok
t/spec/S13-overloading/operators.t ........................ ok
t/spec/S13-overloading/typecasting-long.t ................. ok
t/spec/S13-overloading/typecasting-mixed.t ................ ok
t/spec/S13-overloading/typecasting-short.t ................ ok
t/spec/S13-type-casting/methods.t ......................... ok
t/spec/S14-roles/anonymous.rakudo ......................... ok
t/spec/S14-roles/basic.rakudo ............................. ok
t/spec/S14-roles/bool.t ................................... ok
t/spec/S14-roles/composition.rakudo ....................... ok
t/spec/S14-roles/conflicts.rakudo ......................... ok
t/spec/S14-roles/crony.t .................................. ok
t/spec/S14-roles/instantiation.t .......................... ok
t/spec/S14-roles/lexical.t ................................ ok
t/spec/S14-roles/mixin.rakudo ............................. ok
t/spec/S14-roles/namespaced.rakudo ........................ ok
t/spec/S14-roles/parameter-subtyping.t .................... ok
t/spec/S14-roles/parameterized-basic.t .................... ok
t/spec/S14-roles/parameterized-mixin.rakudo ............... ok
t/spec/S14-roles/parameterized-type.rakudo ................ ok
t/spec/S14-roles/stubs.t .................................. ok
t/spec/S14-roles/submethods.t ............................. ok
t/spec/S14-traits/attributes.t ............................ ok
t/spec/S14-traits/routines.rakudo ......................... ok
t/spec/S16-filehandles/chmod.t ............................ ok
t/spec/S16-filehandles/filestat.t ......................... Failed 1/13 subtests
t/spec/S16-filehandles/filetest.rakudo .................... ok
t/spec/S16-filehandles/io.rakudo .......................... ok
t/spec/S16-filehandles/io_in_for_loops.t .................. ok
t/spec/S16-filehandles/io_in_while_loops.t ................ ok
t/spec/S16-filehandles/mkdir_rmdir.rakudo ................. ok
t/spec/S16-filehandles/open.t ............................. ok
t/spec/S16-filehandles/unlink.rakudo ...................... ok
t/spec/S16-io/bare-say.rakudo ............................. ok
t/spec/S16-io/basic-open.t ................................ ok
t/spec/S16-io/getc.t ...................................... ok
t/spec/S16-io/say-and-ref.t ............................... ok
t/spec/S16-io/say.t ....................................... ok
t/spec/S16-unfiled/rebindstdhandles.rakudo ................ ok
t/spec/S16-unfiled/slurp.t ................................ ok
t/spec/S19-command-line/dash-e.t .......................... ok
t/spec/S19-command-line/help.t ............................ ok
t/spec/S26-documentation/01-delimited.t ................... ok
t/spec/S26-documentation/02-paragraph.t ................... ok
t/spec/S26-documentation/03-abbreviated.t ................. ok
t/spec/S26-documentation/04-code.t ........................ ok
t/spec/S26-documentation/05-comment.t ..................... ok
t/spec/S26-documentation/06-lists.t ....................... ok
t/spec/S26-documentation/07-tables.t ...................... ok
t/spec/S26-documentation/08-formattingcodes.t ............. ok
t/spec/S26-documentation/09-configuration.t ............... ok
t/spec/S26-documentation/why.t ............................ ok
t/spec/S28-named-variables/cwd.t .......................... ok
t/spec/S28-named-variables/inc.t .......................... ok
t/spec/S29-any/cmp.t ...................................... ok
t/spec/S29-any/isa.t ...................................... ok
t/spec/S29-context/die.rakudo ............................. ok
t/spec/S29-context/eval.rakudo ............................ ok
t/spec/S29-context/exit-in-if.t ........................... ok
t/spec/S29-context/exit.t ................................. ok
t/spec/S29-context/sleep.t ................................ ok
t/spec/S29-conversions/hash.t ............................. ok
t/spec/S29-conversions/ord_and_chr.rakudo ................. ok
t/spec/S32-array/bool.t ................................... ok
t/spec/S32-array/create.t ................................. ok
t/spec/S32-array/delete.rakudo ............................ ok
t/spec/S32-array/elems.rakudo ............................. ok
t/spec/S32-array/end.rakudo ............................... ok
t/spec/S32-array/exists.rakudo ............................ ok
t/spec/S32-array/keys_values.t ............................ ok
t/spec/S32-array/kv.t ..................................... ok
t/spec/S32-array/pairs.rakudo ............................. ok
t/spec/S32-array/pop.t .................................... ok
t/spec/S32-array/push.t ................................... ok
t/spec/S32-array/rotate.rakudo ............................ ok
t/spec/S32-array/shift.t .................................. ok
t/spec/S32-array/splice.rakudo ............................ Failed 3/37 subtests
(less 10 skipped subtests: 24 okay)
t/spec/S32-array/unshift.t ................................ ok
t/spec/S32-basics/warn.rakudo ............................. ok
t/spec/S32-container/roundrobin.rakudo .................... ok
t/spec/S32-container/zip.rakudo ........................... ok
t/spec/S32-exceptions/misc.rakudo ......................... ok
t/spec/S32-hash/delete.t .................................. ok
t/spec/S32-hash/exists.rakudo ............................. ok
t/spec/S32-hash/invert.rakudo ............................. ok
t/spec/S32-hash/keys_values.t ............................. ok
t/spec/S32-hash/kv.rakudo ................................. ok
t/spec/S32-hash/pairs.rakudo .............................. ok
t/spec/S32-hash/push.t .................................... ok
t/spec/S32-hash/slice.rakudo .............................. ok
t/spec/S32-io/IO-Socket-INET.t ............................ ok
t/spec/S32-io/chdir.rakudo ................................ ok
t/spec/S32-io/dir.t ....................................... ok
t/spec/S32-io/file-tests.t ................................ ok
t/spec/S32-io/note.rakudo ................................. ok
t/spec/S32-list/categorize.t .............................. ok
t/spec/S32-list/classify.rakudo ........................... ok
t/spec/S32-list/create.t .................................. ok
t/spec/S32-list/end.t ..................................... ok
t/spec/S32-list/first.rakudo .............................. ok
t/spec/S32-list/grep.rakudo ............................... ok
t/spec/S32-list/join.t .................................... ok
t/spec/S32-list/map.rakudo ................................ ok
t/spec/S32-list/map_function_return_values.rakudo ......... ok
t/spec/S32-list/minmax.rakudo ............................. ok
t/spec/S32-list/pick.rakudo ............................... ok
t/spec/S32-list/reduce.rakudo ............................. ok
t/spec/S32-list/reverse.rakudo ............................ ok
t/spec/S32-list/roll.t .................................... ok
t/spec/S32-list/sort.rakudo ............................... ok
t/spec/S32-list/uniq.rakudo ............................... ok
t/spec/S32-num/abs.t ...................................... ok
t/spec/S32-num/base.t ..................................... ok
t/spec/S32-num/complex.t .................................. ok
t/spec/S32-num/cool-num.rakudo ............................ ok
t/spec/S32-num/exp.t ...................................... ok
t/spec/S32-num/fatrat.rakudo .............................. ok
t/spec/S32-num/int.rakudo ................................. ok
t/spec/S32-num/log.t ...................................... ok
t/spec/S32-num/pi.t ....................................... ok
t/spec/S32-num/polar.t .................................... ok
t/spec/S32-num/power.rakudo ............................... ok
t/spec/S32-num/rand.rakudo ................................ ok
t/spec/S32-num/rat.rakudo ................................. ok
t/spec/S32-num/real-bridge.t .............................. ok
t/spec/S32-num/roots.t .................................... ok
t/spec/S32-num/rounders.t ................................. ok
t/spec/S32-num/sign.rakudo ................................ ok
t/spec/S32-num/sqrt.t ..................................... ok
t/spec/S32-num/stringify.rakudo ........................... ok
t/spec/S32-num/unpolar.t .................................. ok
t/spec/S32-scalar/defined.t ............................... ok
t/spec/S32-scalar/undef.rakudo ............................ ok
t/spec/S32-str/append.t ................................... ok
t/spec/S32-str/bool.t ..................................... ok
t/spec/S32-str/capitalize.rakudo .......................... ok
t/spec/S32-str/chomp.t .................................... ok
t/spec/S32-str/chop.rakudo ................................ ok
t/spec/S32-str/comb.rakudo ................................ ok
t/spec/S32-str/encode.rakudo .............................. ok
t/spec/S32-str/flip.rakudo ................................ ok
t/spec/S32-str/indent.rakudo .............................. ok
t/spec/S32-str/index.rakudo ............................... ok
t/spec/S32-str/lc.t ....................................... ok
t/spec/S32-str/lines.t .................................... ok
t/spec/S32-str/numeric.rakudo ............................. ok
t/spec/S32-str/ords.t ..................................... ok
t/spec/S32-str/pack.t ..................................... ok
t/spec/S32-str/pos.t ...................................... ok
t/spec/S32-str/rindex.rakudo .............................. ok
t/spec/S32-str/samecase.t ................................. ok
t/spec/S32-str/split-simple.rakudo ........................ ok
t/spec/S32-str/split.rakudo ............................... ok
t/spec/S32-str/sprintf.rakudo ............................. ok
t/spec/S32-str/substr-rw.rakudo ........................... ok
t/spec/S32-str/substr.rakudo .............................. ok
t/spec/S32-str/tclc.rakudo ................................ ok
t/spec/S32-str/trim.t ..................................... ok
t/spec/S32-str/uc.rakudo .................................. ok
t/spec/S32-str/unpack.t ................................... ok
t/spec/S32-str/words.rakudo ............................... ok
t/spec/S32-temporal/Date.t ................................ ok
t/spec/S32-temporal/DateTime-Instant-Duration.rakudo ...... ok
t/spec/S32-temporal/DateTime.rakudo ....................... ok
t/spec/S32-temporal/calendar.t ............................ ok
t/spec/S32-temporal/local.rakudo .......................... ok
t/spec/S32-trig/atan2.t ................................... ok
t/spec/S32-trig/cos.t ..................................... ok
t/spec/S32-trig/cosec.t ................................... ok
t/spec/S32-trig/cosech.t .................................. ok
t/spec/S32-trig/cosh.t .................................... ok
t/spec/S32-trig/cotan.t ................................... ok
t/spec/S32-trig/cotanh.t .................................. ok
t/spec/S32-trig/e.t ....................................... ok
t/spec/S32-trig/pi.t ...................................... ok
t/spec/S32-trig/sec.t ..................................... ok
t/spec/S32-trig/sech.t .................................... ok
t/spec/S32-trig/simple.t .................................. ok
t/spec/S32-trig/sin.t ..................................... ok
t/spec/S32-trig/sinh.t .................................... ok
t/spec/S32-trig/tan.t ..................................... ok
t/spec/S32-trig/tanh.t .................................... ok
t/spec/integration/99problems-01-to-10.rakudo ............. ok
t/spec/integration/99problems-11-to-20.rakudo ............. ok
t/spec/integration/99problems-21-to-30.rakudo ............. ok
t/spec/integration/99problems-31-to-40.t .................. ok
t/spec/integration/99problems-41-to-50.rakudo ............. ok
t/spec/integration/99problems-51-to-60.t .................. ok
t/spec/integration/99problems-61-to-70.t .................. ok
t/spec/integration/advent2009-day01.t ..................... ok
t/spec/integration/advent2009-day02.t ..................... ok
t/spec/integration/advent2009-day03.t ..................... ok
t/spec/integration/advent2009-day04.t ..................... ok
t/spec/integration/advent2009-day05.t ..................... ok
t/spec/integration/advent2009-day06.rakudo ................ ok
t/spec/integration/advent2009-day07.rakudo ................ ok
t/spec/integration/advent2009-day08.t ..................... ok
t/spec/integration/advent2009-day09.t ..................... ok
t/spec/integration/advent2009-day10.t ..................... ok
t/spec/integration/advent2009-day11.t ..................... ok
t/spec/integration/advent2009-day12.rakudo ................ ok
t/spec/integration/advent2009-day13.t ..................... ok
t/spec/integration/advent2009-day14.rakudo ................ ok
t/spec/integration/advent2009-day15.t ..................... ok
t/spec/integration/advent2009-day16.t ..................... ok
t/spec/integration/advent2009-day18.rakudo ................ ok
t/spec/integration/advent2009-day19.t ..................... ok
t/spec/integration/advent2009-day20.t ..................... ok
t/spec/integration/advent2009-day22.t ..................... ok
t/spec/integration/advent2009-day23.rakudo ................ ok
t/spec/integration/advent2010-day04.t ..................... ok
t/spec/integration/code-blocks-as-sub-args.t .............. ok
t/spec/integration/error-reporting.rakudo ................. ok
t/spec/integration/lexical-array-in-inner-block.t ......... ok
t/spec/integration/lexicals-and-attributes.t .............. ok
t/spec/integration/man-or-boy.t ........................... ok
t/spec/integration/method-calls-and-instantiation.t ....... ok
t/spec/integration/no-indirect-new.t ...................... ok
t/spec/integration/packages.t ............................. ok
t/spec/integration/pair-in-array.t ........................ ok
t/spec/integration/passing-pair-class-to-sub.t ............ ok
t/spec/integration/real-strings.t ......................... ok
t/spec/integration/role-composition-vs-attribute.t ........ ok
t/spec/integration/say-crash.t ............................ ok
t/spec/integration/substr-after-match-in-gather-in-for.t .. ok
t/spec/integration/weird-errors.t ......................... ok
Test Summary Report
-------------------
t/spec/S02-literals/char-by-name.rakudo (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/spec/S05-mass/named-chars.rakudo (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/spec/S05-mass/properties-block.rakudo (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/spec/S05-mass/properties-derived.rakudo (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/spec/S05-mass/properties-general.rakudo (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/spec/S16-filehandles/filestat.t (Wstat: 0 Tests: 13 Failed: 1)
Failed test: 8
t/spec/S32-array/splice.rakudo (Wstat: 11 Tests: 34 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 37 tests but ran 34.
Files=682, Tests=22912, 1208 wallclock secs ( 6.73 usr 1.35 sys + 1030.80 cusr 71.26 csys = 1110.14 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.