diff options
Diffstat (limited to 'src/cmd/nm/nm_cgo_test.go')
| -rw-r--r-- | src/cmd/nm/nm_cgo_test.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/cmd/nm/nm_cgo_test.go b/src/cmd/nm/nm_cgo_test.go index de16f77ecc..31ab1d67b5 100644 --- a/src/cmd/nm/nm_cgo_test.go +++ b/src/cmd/nm/nm_cgo_test.go @@ -11,13 +11,6 @@ import ( "testing" ) -func TestInternalLinkerCgoFile(t *testing.T) { - if !canInternalLink() { - t.Skip("skipping; internal linking is not supported") - } - testGoFile(t, true, false) -} - func canInternalLink() bool { switch runtime.GOOS { case "dragonfly": @@ -31,6 +24,13 @@ func canInternalLink() bool { return true } -func TestExternalLinkerCgoFile(t *testing.T) { - testGoFile(t, true, true) +func TestInternalLinkerCgoExec(t *testing.T) { + if !canInternalLink() { + t.Skip("skipping; internal linking is not supported") + } + testGoExec(t, true, false) +} + +func TestExternalLinkerCgoExec(t *testing.T) { + testGoExec(t, true, true) } |
