Commit e8f13700 authored by Shenghou Ma's avatar Shenghou Ma Committed by Ian Lance Taylor

test/fixedbugs/bug302: fix test on windows.

Change-Id: I74c2578d1620b37a6486eca00a774b9a736a8899
Reviewed-on: https://go-review.googlesource.com/1222Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent e67a39ed
......@@ -5,8 +5,8 @@
package main
// Check that the export information is correct in p.6.
import _ "./p"
import _ "p"
// Check that it's still correct in pp.a (which contains p.6).
import _ "./pp"
import _ "pp"
......@@ -25,7 +25,7 @@ func main() {
run("go", "tool", a+"g", filepath.Join("fixedbugs", "bug302.dir", "p.go"))
run("go", "tool", "pack", "grc", "pp.a", "p."+a)
run("go", "tool", a+"g", filepath.Join("fixedbugs", "bug302.dir", "main.go"))
run("go", "tool", a+"g", "-I", ".", filepath.Join("fixedbugs", "bug302.dir", "main.go"))
os.Remove("p."+a)
os.Remove("pp.a")
os.Remove("main."+a)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment