1
0
mirror of https://github.com/golang/go synced 2024-11-08 12:06:18 -07:00
go/misc/cgo/testplugin
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
..
altpath/testdata misc/cgo/testplugin: convert test.bash to Go and fix in module mode 2019-02-24 00:36:13 +00:00
testdata misc/cgo/testplugin: convert test.bash to Go and fix in module mode 2019-02-24 00:36:13 +00:00
overlaydir_test.go misc/cgo/testplugin: convert test.bash to Go and fix in module mode 2019-02-24 00:36:13 +00:00
plugin_test.go misc/cgo/testplugin: let TestMain run deferred functions 2019-03-01 21:33:27 +00:00