1// Copyright 2011 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5package cgotest 6 7import "testing" 8 9// The actual test functions are in non-_test.go files 10// so that they can use cgo (import "C"). 11// These wrappers are here for gotest to find. 12 13func TestAlign(t *testing.T) { testAlign(t) } 14func TestConst(t *testing.T) { testConst(t) } 15func TestEnum(t *testing.T) { testEnum(t) } 16func TestAtol(t *testing.T) { testAtol(t) } 17func TestErrno(t *testing.T) { testErrno(t) } 18func TestMultipleAssign(t *testing.T) { testMultipleAssign(t) } 19func TestUnsignedInt(t *testing.T) { testUnsignedInt(t) } 20func TestCallback(t *testing.T) { testCallback(t) } 21func TestCallbackGC(t *testing.T) { testCallbackGC(t) } 22func TestCallbackPanic(t *testing.T) { testCallbackPanic(t) } 23func TestCallbackPanicLoop(t *testing.T) { testCallbackPanicLoop(t) } 24func TestCallbackPanicLocked(t *testing.T) { testCallbackPanicLocked(t) } 25func TestPanicFromC(t *testing.T) { testPanicFromC(t) } 26func TestZeroArgCallback(t *testing.T) { testZeroArgCallback(t) } 27func TestBlocking(t *testing.T) { testBlocking(t) } 28func Test1328(t *testing.T) { test1328(t) } 29func TestParallelSleep(t *testing.T) { testParallelSleep(t) } 30func TestSetEnv(t *testing.T) { testSetEnv(t) } 31func TestHelpers(t *testing.T) { testHelpers(t) } 32func TestLibgcc(t *testing.T) { testLibgcc(t) } 33func Test1635(t *testing.T) { test1635(t) } 34func TestPrintf(t *testing.T) { testPrintf(t) } 35func Test4029(t *testing.T) { test4029(t) } 36func TestBoolAlign(t *testing.T) { testBoolAlign(t) } 37func Test3729(t *testing.T) { test3729(t) } 38func Test3775(t *testing.T) { test3775(t) } 39func TestCthread(t *testing.T) { testCthread(t) } 40func TestCallbackCallers(t *testing.T) { testCallbackCallers(t) } 41func Test5227(t *testing.T) { test5227(t) } 42func TestCflags(t *testing.T) { testCflags(t) } 43func Test5337(t *testing.T) { test5337(t) } 44func Test5548(t *testing.T) { test5548(t) } 45func Test5603(t *testing.T) { test5603(t) } 46func Test6833(t *testing.T) { test6833(t) } 47func Test3250(t *testing.T) { test3250(t) } 48func TestCallbackStack(t *testing.T) { testCallbackStack(t) } 49func TestFpVar(t *testing.T) { testFpVar(t) } 50func Test4339(t *testing.T) { test4339(t) } 51func Test6390(t *testing.T) { test6390(t) } 52func Test5986(t *testing.T) { test5986(t) } 53func Test7665(t *testing.T) { test7665(t) } 54func TestNaming(t *testing.T) { testNaming(t) } 55func Test7560(t *testing.T) { test7560(t) } 56func Test5242(t *testing.T) { test5242(t) } 57func Test8092(t *testing.T) { test8092(t) } 58func Test7978(t *testing.T) { test7978(t) } 59func Test8694(t *testing.T) { test8694(t) } 60func Test8517(t *testing.T) { test8517(t) } 61func Test8811(t *testing.T) { test8811(t) } 62func TestReturnAfterGrow(t *testing.T) { testReturnAfterGrow(t) } 63func TestReturnAfterGrowFromGo(t *testing.T) { testReturnAfterGrowFromGo(t) } 64func Test9026(t *testing.T) { test9026(t) } 65func Test9510(t *testing.T) { test9510(t) } 66func Test9557(t *testing.T) { test9557(t) } 67func Test10303(t *testing.T) { test10303(t, 10) } 68func Test11925(t *testing.T) { test11925(t) } 69func Test12030(t *testing.T) { test12030(t) } 70func TestGCC68255(t *testing.T) { testGCC68255(t) } 71func TestCallGoWithString(t *testing.T) { testCallGoWithString(t) } 72func Test14838(t *testing.T) { test14838(t) } 73func Test8756(t *testing.T) { test8756(t) } 74func Test17065(t *testing.T) { test17065(t) } 75func TestThreadLock(t *testing.T) { testThreadLockFunc(t) } 76func TestCheckConst(t *testing.T) { testCheckConst(t) } 77func Test17537(t *testing.T) { test17537(t) } 78func Test18126(t *testing.T) { test18126(t) } 79func Test20369(t *testing.T) { test20369(t) } 80func Test18720(t *testing.T) { test18720(t) } 81func Test20266(t *testing.T) { test20266(t) } 82func Test20129(t *testing.T) { test20129(t) } 83func Test20910(t *testing.T) { test20910(t) } 84func Test21708(t *testing.T) { test21708(t) } 85func Test21809(t *testing.T) { test21809(t) } 86func Test6907(t *testing.T) { test6907(t) } 87func Test6907Go(t *testing.T) { test6907Go(t) } 88func Test21897(t *testing.T) { test21897(t) } 89func Test22906(t *testing.T) { test22906(t) } 90 91func BenchmarkCgoCall(b *testing.B) { benchCgoCall(b) } 92