]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/testcshared: use TestMain
authorAlex Brainman <alex.brainman@gmail.com>
Sat, 19 Aug 2017 10:17:46 +0000 (20:17 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Sun, 10 Sep 2017 05:15:01 +0000 (05:15 +0000)
commitd0285161f0efb1837ba0942263c33e3d53f59ece
tree54d62efa0219409f1dc1f94864ce01b6a2781044
parent7758abf3b609528eea2dbad647ddeac6301340ec
misc/cgo/testcshared: use TestMain

This CL uses TestMain to create and remove
pkg directory and libgo.so file.

Fixes #21531

Change-Id: I833cfb22b55d8eef98348dad4d56327ac4c07b36
Reviewed-on: https://go-review.googlesource.com/57270
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
misc/cgo/testcshared/cshared_test.go