From 3e765e5fe4081026e4c6aa028e5f2e6d43d4a653 Mon Sep 17 00:00:00 2001 From: Hubert Grochowski Date: Fri, 15 Sep 2023 14:42:28 +0200 Subject: [PATCH] e2e/setup(callback): log `SKIP:` lines from test's stdout This is the best effort to ensure the right tests are run. --- e2e/setup/callback.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/setup/callback.go b/e2e/setup/callback.go index 255a4dac..6d355fca 100644 --- a/e2e/setup/callback.go +++ b/e2e/setup/callback.go @@ -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) } }