Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[proof-of-concept] take skip-test into account

In the diagnostics, the "which state broke" prediction now takes :$skip-test
into account in the case when the status is left at "built".
  • Loading branch information...
commit cf30eadd7038e64ed0cad8a05a849f4457f96376 1 parent 663199f
@masak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  proof-of-concept
View
2  proof-of-concept
@@ -375,7 +375,7 @@ sub MAIN(Str $project, Bool :$force, Bool :$skip-test) {
my $step = do given $core.state-of($project) {
when 'absent' { "fetch" }
when 'fetched' { "build" }
- when 'built' { "test" } # XXX: This will be wrong for :skip-test
+ when 'built' { $skip-test ?? "install" !! "test" }
};
say "Couldn't install $project: the $step step failed.";
if $step eq "fetch" {
Please sign in to comment.
Something went wrong with that request. Please try again.