commit | 94c62efe9cfb9b3d9f0934dcb6d40a0ae522cdff | [log] [tgz] |
---|---|---|
author | Josh Bleecher Snyder <josharian@gmail.com> | Thu Mar 30 15:07:05 2017 -0700 |
committer | Josh Bleecher Snyder <josharian@gmail.com> | Thu Mar 30 22:32:33 2017 +0000 |
tree | 792db17c2dff980b618cbe2cd4e7a0273caca2d0 | |
parent | ac99ade5a09a685f20df3b0d62c98cd3de7a575e [diff] [blame] |
cmd/link: skip TestDWARF when cgo is disabled While we're here, fix a Skip/Skipf error I noticed. Fixes #19796. Change-Id: I59b1f5b5ea727fc314acfee8445b3de0b5af1e46 Reviewed-on: https://go-review.googlesource.com/38992 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/src/cmd/link/dwarf_test.go b/src/cmd/link/dwarf_test.go index 4c7e2e4..f88aecc 100644 --- a/src/cmd/link/dwarf_test.go +++ b/src/cmd/link/dwarf_test.go
@@ -20,6 +20,7 @@ ) func TestDWARF(t *testing.T) { + testenv.MustHaveCGO(t) testenv.MustHaveGoBuild(t) if runtime.GOOS == "plan9" {