From 5ca247071158d32157ed53d9596392a516b05d9b Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Mon, 8 Oct 2012 01:54:56 +0800 Subject: test/run.go: use correct executable filename on Windows, fix build R=golang-dev, daniel.morsing CC=golang-dev http://codereview.appspot.com/6624060 --- test/run.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/run.go') diff --git a/test/run.go b/test/run.go index c22bfb2ec..a6464e380 100644 --- a/test/run.go +++ b/test/run.go @@ -177,7 +177,7 @@ func compileInDir(runcmd runCmd, dir, name string) (out []byte, err error) { func linkFile(runcmd runCmd, goname string) (err error) { pfile := strings.Replace(goname, ".go", "."+letter, -1) - _, err = runcmd("go", "tool", ld, "-o", "run.out", "-L", ".", pfile) + _, err = runcmd("go", "tool", ld, "-o", "a.exe", "-L", ".", pfile) return } @@ -440,7 +440,7 @@ func (t *test) run() { t.err = err return } - out, err := runcmd(append([]string{filepath.Join(t.tempDir, "run.out")}, args...)...) + out, err := runcmd(append([]string{filepath.Join(t.tempDir, "a.exe")}, args...)...) if err != nil { t.err = err return -- cgit v1.2.1