Commit b2cec010 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 421d2cd6
...@@ -196,7 +196,7 @@ func verifyInSubprocess(t *testing.T, f func(t *testing.T), targvExtra ...string ...@@ -196,7 +196,7 @@ func verifyInSubprocess(t *testing.T, f func(t *testing.T), targvExtra ...string
argv = append(argv, targvExtra...) argv = append(argv, targvExtra...)
cmd := exec.Command(os.Args[0], argv...) cmd := exec.Command(os.Args[0], argv...)
cmd.Env = append(os.Environ(), "TRACETEST_EX_VERIFY_IN_SUBPROCESS=1") cmd.Env = append(os.Environ(), "TRACETEST_EX_VERIFY_IN_SUBPROCESS=1")
bout, err := cmd.CombinedOutput() // NOTE `go test` combines everything to stdout only bout, err := cmd.CombinedOutput() // NOTE `go test` itself combines everything to stdout only
out := string(bout) out := string(bout)
ecode := 0 ecode := 0
if testing.Verbose() { if testing.Verbose() {
......
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