From: Russ Cox Date: Thu, 18 Jul 2013 15:01:58 +0000 (-0400) Subject: debug/gosym: avoid test failure on Windows X-Git-Tag: go1.2rc2~1009 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=72bd1a7e36cad230ecc8b07fdfaea86158d9ec60;p=gostls13.git 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 --- diff --git a/src/pkg/debug/gosym/pclntab_test.go b/src/pkg/debug/gosym/pclntab_test.go index 5616cdbd56..6ec2b63847 100644 --- a/src/pkg/debug/gosym/pclntab_test.go +++ b/src/pkg/debug/gosym/pclntab_test.go @@ -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 }