1
0
mirror of https://github.com/golang/go synced 2024-11-24 00:50:10 -07:00
go/misc/cgo
Ian Lance Taylor 7dc3d9f85f misc/cgo/testplugin: let TestMain run deferred functions
Split TestMain into two functions so that we can defer cleanups.

Updates #30500

Change-Id: I4a5c7ddb8218a8bd056c8733c3cb9feb895e77a0
Reviewed-on: https://go-review.googlesource.com/c/164859
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
2019-03-01 21:33:27 +00:00
..
errors misc/cgo/errors: fix tests in module mode 2019-02-22 17:24:25 +00:00
fortran
gmp
life misc/cgo: skip cgotest.TestCrossPackageTests on iOS and set PWD 2019-02-26 13:29:07 +00:00
nocgo
stdio misc/cgo: skip cgotest.TestCrossPackageTests on iOS and set PWD 2019-02-26 13:29:07 +00:00
test misc/cgo/test: set PWD when executing 'go test' in an alternate GOPATH 2019-03-01 18:35:31 +00:00
testasan
testcarchive misc/cgo: skip cgotest.TestCrossPackageTests on iOS and set PWD 2019-02-26 13:29:07 +00:00
testcshared misc/cgo/testcshared: delete temporary directory in test 2019-03-01 21:33:00 +00:00
testgodefs misc/cgo/testgodefs: move source files into testdata 2019-02-26 02:44:12 +00:00
testplugin misc/cgo/testplugin: let TestMain run deferred functions 2019-03-01 21:33:27 +00:00
testsanitizers misc/cgo/testsanitizers: move test source files into testdata directory 2019-02-22 21:58:00 +00:00
testshared misc/cgo: skip cgotest.TestCrossPackageTests on iOS and set PWD 2019-02-26 13:29:07 +00:00
testsigfwd
testso misc/cgo/testso{,var}: fix tests in module mode 2019-02-26 02:43:55 +00:00
testsovar misc/cgo/testso{,var}: fix tests in module mode 2019-02-26 02:43:55 +00:00
testtls