Skip to content

Commit

Permalink
[proof-of-concept] take skip-test into account
Browse files Browse the repository at this point in the history
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
Carl Masak committed Jul 3, 2010
1 parent 663199f commit cf30ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proof-of-concept
Expand Up @@ -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" {
Expand Down

0 comments on commit cf30ead

Please sign in to comment.