]> Cypherpunks repositories - gostls13.git/commit
debug/gosym: clean up and modernize pclntab_test
authorIan Lance Taylor <iant@golang.org>
Wed, 7 Oct 2015 14:24:20 +0000 (07:24 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 7 Oct 2015 17:01:59 +0000 (17:01 +0000)
commitbf3bf092d1ae9b2b693b0326dcf36cf773853482
tree9eeffe74e980df2fc84815a180affe68bce33e18
parent449cc06e9825c130af7cba4910cecb66f98a2345
debug/gosym: clean up and modernize pclntab_test

The self tests do not need to build the binary; they won't read it.  The
self tests should work on any ELF system.

Use t.Skip instead of panic.  Use internal/testenv.  Don't worry about a
space in the temporary directory name.

Change-Id: I66ef0af90520d330820afa7b6c6b3a132ab27454
Reviewed-on: https://go-review.googlesource.com/15495
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/debug/gosym/pclntab_test.go