mirror of
https://github.com/golang/go
synced 2024-09-05 16:04:50 +00:00
runtime,misc/cgo/test: disable broken tests so we can test the rest
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7486048
This commit is contained in:
parent
e44f42e056
commit
2f23f90dab
|
@ -34,6 +34,10 @@ func testCthread(t *testing.T) {
|
|||
if runtime.GOARCH == "arm" {
|
||||
t.Skip("testCthread disabled on arm")
|
||||
}
|
||||
// TODO(brainman): http://golang.org/issue/4955
|
||||
if runtime.GOOS == "windows" {
|
||||
t.Skip("testCthread disabled on windows: http://golang.org/issue/4955")
|
||||
}
|
||||
|
||||
C.doAdd(10, 6)
|
||||
|
||||
|
|
|
@ -172,6 +172,9 @@ func TestCallbackGC(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestCallbackPanic(t *testing.T) {
|
||||
// TODO(brainman): http://golang.org/issue/4971
|
||||
t.Skip("TestCallbackPanic disabled: http://golang.org/issue/4971")
|
||||
|
||||
// Make sure panic during callback unwinds properly.
|
||||
if runtime.LockedOSThread() {
|
||||
t.Fatal("locked OS thread on entry to TestCallbackPanic")
|
||||
|
|
|
@ -72,8 +72,6 @@ if errorlevel 1 goto fail
|
|||
echo.
|
||||
|
||||
:: cgo tests
|
||||
:: issue 4955 - cgo is broken
|
||||
goto nocgo
|
||||
if x%CGO_ENABLED% == x0 goto nocgo
|
||||
echo # ..\misc\cgo\life
|
||||
go run %GOROOT%\test\run.go - ..\misc\cgo\life
|
||||
|
|
Loading…
Reference in a new issue