go/src/cmd/cgo/internal/testcshared/cshared_test.go

var globalSkip

var cc

var exeSuffix

var (
	GOOS
	GOARCH
	GOROOT
)

var installdir

var libgoname

func TestMain(m *testing.M) {}

func testMain(m *testing.M) int {}

func goEnv(key string) string {}

func cmdToRun(name string) string {}

func run(t *testing.T, extraEnv []string, args ...string) string {}

func runExe(t *testing.T, extraEnv []string, args ...string) string {}

func runCC(t *testing.T, args ...string) string {}

func createHeaders() error {}

var headersOnce

var headersErr

func createHeadersOnce(t *testing.T) {}

// test0: exported symbols in shared lib are accessible.
func TestExportedSymbols(t *testing.T) {}

func checkNumberOfExportedFunctionsWindows(t *testing.T, exportAllSymbols bool) {}

func TestNumberOfExportedFunctions(t *testing.T) {}

// test1: shared library can be dynamically loaded and exported symbols are accessible.
func TestExportedSymbolsWithDynamicLoad(t *testing.T) {}

// test2: tests libgo2 which does not export any functions.
func TestUnexportedSymbols(t *testing.T) {}

// test3: tests main.main is exported on android.
func TestMainExportedOnAndroid(t *testing.T) {}

func testSignalHandlers(t *testing.T, pkgname, cfile, cmd string) {}

// test4: test signal handlers
func TestSignalHandlers(t *testing.T) {}

// test5: test signal handlers with os/signal.Notify
func TestSignalHandlersWithNotify(t *testing.T) {}

func TestPIE(t *testing.T) {}

// Test that installing a second time recreates the header file.
func TestCachedInstall(t *testing.T) {}

// copyFile copies src to dst.
func copyFile(t *testing.T, dst, src string) {}

func TestGo2C2Go(t *testing.T) {}

func TestIssue36233(t *testing.T) {}