From 217f3f4de6ff58c516380e530598225902cd89d1 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 28 Mar 2021 16:18:47 +0200 Subject: [PATCH] cmd/gogio: dump child program outputs to test log Without logging, a failing child result in nondescript errors such as windows_test.go:126: exit status 2 Signed-off-by: Elias Naur --- cmd/gogio/e2e_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/gogio/e2e_test.go b/cmd/gogio/e2e_test.go index 4b250e08..272f02ae 100644 --- a/cmd/gogio/e2e_test.go +++ b/cmd/gogio/e2e_test.go @@ -268,6 +268,7 @@ func (d *driverBase) waitForFrame() { scanner := bufio.NewScanner(d.output) for scanner.Scan() { line := scanner.Text() + d.Log(line) if strings.Contains(line, "gio frame ready") { d.frameNotifs <- true }