Commit 6bb1677f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8d58ab5c
......@@ -187,11 +187,13 @@ func verifyInSubprocess(t *testing.T, f func(t *testing.T), targvExtra ...string
stdout := string(bout)
stderr := ""
ecode := 0
if testing.Verbose() {
t.Logf("stdout:\n%s\n", stdout)
}
if err != nil {
e, ok := err.(*exec.ExitError)
if !ok {
// e.g. could not respawn at all
t.Log(stdout)
t.Fatal(err)
}
stderr = string(e.Stderr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment