summaryrefslogtreecommitdiff
path: root/libgo/go/debug/gosym/pclntab_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/debug/gosym/pclntab_test.go')
-rw-r--r--libgo/go/debug/gosym/pclntab_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgo/go/debug/gosym/pclntab_test.go b/libgo/go/debug/gosym/pclntab_test.go
index d21f0e24a83..6baa53defd1 100644
--- a/libgo/go/debug/gosym/pclntab_test.go
+++ b/libgo/go/debug/gosym/pclntab_test.go
@@ -55,7 +55,7 @@ func endtest() {
// These tests open and examine the test binary, and use elf.Open to do so.
func skipIfNotELF(t *testing.T) {
switch runtime.GOOS {
- case "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "solaris":
+ case "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "solaris", "illumos":
// OK.
default:
t.Skipf("skipping on non-ELF system %s", runtime.GOOS)
@@ -196,6 +196,9 @@ func TestLineAline(t *testing.T) {
}
func TestPCLine(t *testing.T) {
+ if testing.Short() {
+ t.Skip("skipping in -short mode")
+ }
dotest(t)
defer endtest()