aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug
diff options
context:
space:
mode:
authorMikio Hara <mikioh.mikioh@gmail.com>2012-01-14 06:40:55 +0900
committerMikio Hara <mikioh.mikioh@gmail.com>2012-01-14 06:40:55 +0900
commit92c8df46c6f398930ba598b1a2eb1248e739cc0b (patch)
tree7ebd00b70ee7be3ac820f0f77dabc913a05c900e /src/pkg/debug
parent5f7337769c4a09c34d32ca29ffdeb5c5c19aca41 (diff)
downloadgo-92c8df46c6f398930ba598b1a2eb1248e739cc0b.tar.xz
src: make use of runtime.GOOS, GOARCH instead of syscall.OS, ARCH
R=rsc, r CC=golang-dev https://golang.org/cl/5545048
Diffstat (limited to 'src/pkg/debug')
-rw-r--r--src/pkg/debug/gosym/pclntab_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/debug/gosym/pclntab_test.go b/src/pkg/debug/gosym/pclntab_test.go
index e5c29889b7..b90181bdc6 100644
--- a/src/pkg/debug/gosym/pclntab_test.go
+++ b/src/pkg/debug/gosym/pclntab_test.go
@@ -7,14 +7,14 @@ package gosym
import (
"debug/elf"
"os"
- "syscall"
+ "runtime"
"testing"
)
func dotest() bool {
// For now, only works on ELF platforms.
// TODO: convert to work with new go tool
- return false && syscall.OS == "linux" && os.Getenv("GOARCH") == "amd64"
+ return false && runtime.GOOS == "linux" && runtime.GOARCH == "amd64"
}
func getTable(t *testing.T) *Table {