aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-07-18 11:01:58 -0400
committerRuss Cox <rsc@golang.org>2013-07-18 11:01:58 -0400
commit72bd1a7e36cad230ecc8b07fdfaea86158d9ec60 (patch)
tree2becd673369e9e0a059a487ecdaf7b6d917b72dc /src/pkg/debug
parentc3de91bb15cf23bd1757c63c581f9da4b7e14598 (diff)
downloadgo-72bd1a7e36cad230ecc8b07fdfaea86158d9ec60.tar.xz
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
Diffstat (limited to 'src/pkg/debug')
-rw-r--r--src/pkg/debug/gosym/pclntab_test.go4
1 files changed, 4 insertions, 0 deletions
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
}