1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:44:39 -07:00

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
This commit is contained in:
David Symonds 2012-02-16 14:54:45 +11:00
parent 3430599306
commit 0fc441b053

View File

@ -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)
}