From: David Symonds Date: Thu, 16 Feb 2012 03:54:45 +0000 (+1100) Subject: debug/gosym: dump 6a/6l output to process stdout/stderr so we can see failures. X-Git-Tag: weekly.2012-02-22~204 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0fc441b053097ad07f20a77cb1a71a366b820a01;p=gostls13.git debug/gosym: dump 6a/6l output to process stdout/stderr so we can see failures. TBR=r CC=golang-dev https://golang.org/cl/5671060 --- diff --git a/src/pkg/debug/gosym/pclntab_test.go b/src/pkg/debug/gosym/pclntab_test.go index 2c477757a8..dbd3992ee5 100644 --- a/src/pkg/debug/gosym/pclntab_test.go +++ b/src/pkg/debug/gosym/pclntab_test.go @@ -28,6 +28,8 @@ func dotest() bool { // but we have renamed it to keep it away from the go tool. pclinetestBinary = os.TempDir() + "/pclinetest" cmd := exec.Command("sh", "-c", "go tool 6a pclinetest.asm && go tool 6l -E main -o "+pclinetestBinary+" pclinetest.6") + cmd.Stdout = os.Stdout + cmd.Stderr = os.Stderr if err := cmd.Run(); err != nil { panic(err) }