mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
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 <mail@eliasnaur.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user