]> Cypherpunks repositories - gostls13.git/commitdiff
debug/gosym: dump 6a/6l output to process stdout/stderr so we can see failures.
authorDavid Symonds <dsymonds@golang.org>
Thu, 16 Feb 2012 03:54:45 +0000 (14:54 +1100)
committerDavid Symonds <dsymonds@golang.org>
Thu, 16 Feb 2012 03:54:45 +0000 (14:54 +1100)
TBR=r
CC=golang-dev
https://golang.org/cl/5671060

src/pkg/debug/gosym/pclntab_test.go

index 2c477757a833c592cfea1f2f28e44383dd55a9ff..dbd3992ee59651dd899162e669105401efc550a9 100644 (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)
        }