Skip to content

Commit

Permalink
Make prove6 return pass on failed exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
Leont committed May 24, 2017
1 parent 1f65c8a commit 26f7586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/prove6
Expand Up @@ -46,7 +46,7 @@ multi sub MAIN(
@sources = $shuffle ?? @sources.pick(*) !! @sources.sort;
@sources = @sources.reverse if $reverse;
my $run = $harness-class.new(:$jobs, :$timer, :$ignore-exit, :$err, |%more).run(@sources);
exit min($run.result.failed, 254);
exit min($run.result.has-errors, 254);
}

multi sub MAIN(Bool :$help!) {
Expand Down

0 comments on commit 26f7586

Please sign in to comment.