Skip to content

Commit

Permalink
fix(bg-suite): fix bg-suite returning error if test failed.
Browse files Browse the repository at this point in the history
bg-suite always return succcess even though tests where not successful.

Signed-off-by: Christian Walter <[email protected]>
  • Loading branch information
walterchris authored and ChriMarMe committed Feb 12, 2024
1 parent d400786 commit 1a0d9a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/bg-suite/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ func run(testGroup string, tests []*test.Test, preset *test.PreSet, interactive
fmt.Printf("%-20s", a.Bold(a.Green(tests[index].Result)))
} else {
fmt.Printf("%-20s", a.Bold(a.Red(tests[index].Result)))
result = false
}
if tests[index].ErrorText != "" {
fmt.Printf(" (%s)", tests[index].ErrorText)
Expand Down

0 comments on commit 1a0d9a8

Please sign in to comment.