Skip to content

Commit

Permalink
e2e/setup(callback): log SKIP: lines from test's stdout
Browse files Browse the repository at this point in the history
This is the best effort to ensure the right tests are run.
  • Loading branch information
Choraden authored and mmatczuk committed Sep 18, 2023
1 parent 5d6a855 commit 3e765e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/setup/callback.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func makeTestCallback(run string, debug bool) func() error {

s := strings.Split(stdout.String(), "\n")
for _, l := range s {
if strings.HasPrefix(l, "---") {
if strings.HasPrefix(l, "---") || strings.Contains(l, "SKIP:") {
fmt.Fprintln(os.Stdout, l)
}
}
Expand Down

0 comments on commit 3e765e5

Please sign in to comment.