...
Source file
src/cmd/nm/nm_cgo_test.go
Documentation: cmd/nm
1
2
3
4
5 package main
6
7 import (
8 "internal/testenv"
9 "testing"
10 )
11
12 func TestInternalLinkerCgoExec(t *testing.T) {
13 testenv.MustHaveCGO(t)
14 testenv.MustInternalLink(t, true)
15 testGoExec(t, true, false)
16 }
17
18 func TestExternalLinkerCgoExec(t *testing.T) {
19 testenv.MustHaveCGO(t)
20 testGoExec(t, true, true)
21 }
22
23 func TestCgoLib(t *testing.T) {
24 testenv.MustHaveCGO(t)
25 testGoLib(t, true)
26 }
27
View as plain text