From 72bd1a7e36cad230ecc8b07fdfaea86158d9ec60 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 18 Jul 2013 11:01:58 -0400 Subject: [PATCH] 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 --- src/pkg/debug/gosym/pclntab_test.go | 4 ++++ 1 file changed, 4 insertions(+) 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 } -- 2.48.1