]> Cypherpunks repositories - gostls13.git/commitdiff
debug/gosym: put pclinetest file in temporary directory
authorKeith Randall <khr@golang.org>
Fri, 19 Jul 2013 19:31:42 +0000 (12:31 -0700)
committerKeith Randall <khr@golang.org>
Fri, 19 Jul 2013 19:31:42 +0000 (12:31 -0700)
where it belongs.

R=rsc
CC=golang-dev
https://golang.org/cl/11596043

src/pkg/debug/gosym/pclntab_test.go

index 6ec2b63847dff74ea0f21921c11e099677adc110..35502e8c39551b835a755a8454aecf228e495405 100644 (file)
@@ -49,7 +49,6 @@ func dotest(self bool) bool {
        // the resulting binary looks like it was built from pclinetest.s,
        // but we have renamed it to keep it away from the go tool.
        pclinetestBinary = filepath.Join(pclineTempDir, "pclinetest")
-       pclinetestBinary = "pclinetest"
        command := fmt.Sprintf("go tool 6a -o %s.6 pclinetest.asm && go tool 6l -H linux -E main -o %s %s.6",
                pclinetestBinary, pclinetestBinary, pclinetestBinary)
        cmd := exec.Command("sh", "-c", command)