]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/testcshared: skip all but TestExportedSymbols on windows
authorAlex Brainman <alex.brainman@gmail.com>
Thu, 5 Oct 2017 06:43:38 +0000 (17:43 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 5 Oct 2017 23:11:56 +0000 (23:11 +0000)
commit7e31d9b9f7e8e4e72472cfcbd807b5672806635a
tree9be6b0fbbb0f124aad916ee91ba90413e4fa7208
parent31a3b719a008205d4465a9e93dc7d29edc485e37
misc/cgo/testcshared: skip all but TestExportedSymbols on windows

TestUnexportedSymbols requires dup2 that
my gcc installation does not have.

TestSignalHandlersWithNotify fails with:
undefined: syscall.SIGIO.

TestSignalHandlers fails with:
sched.h: No such file or directory.

TestExportedSymbolsWithDynamicLoad fails with:
dlfcn.h: No such file or directory.

Also add t.Helper calls to better error messages.

Updates #11058

Change-Id: I7eb514968464256b8337e45f57fcb7d7fe0e4693
Reviewed-on: https://go-review.googlesource.com/68410
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/testcshared/cshared_test.go