Skip to content

Commit

Permalink
Exit after test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
dlozano committed Jun 16, 2017
1 parent f9c86d3 commit a692f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion captain.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func Test(opts BuildOptions) {
res := execute("bash", "-c", value)
if res != nil {
err("Test execution returned non-zero status")
return
os.Exit(ExecuteFailed)
}
}
}
Expand Down

0 comments on commit a692f5f

Please sign in to comment.