1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:54:40 -07:00

debug/gosym: avoid test failure on Windows

Would fix build if build hadn't already been broken with something else.

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/11525043
This commit is contained in:
Russ Cox 2013-07-18 11:01:58 -04:00
parent c3de91bb15
commit 72bd1a7e36

View File

@ -30,6 +30,10 @@ func dotest(self bool) bool {
if self && runtime.GOOS != "linux" {
return false
}
// Command below expects "sh", so Unix.
if runtime.GOOS == "windows" || runtime.GOOS == "plan9" {
return false
}
if pclinetestBinary != "" {
return true
}