Commit 2f23f90d authored by Alex Brainman's avatar Alex Brainman Committed by Russ Cox

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
parent e44f42e0
...@@ -34,6 +34,10 @@ func testCthread(t *testing.T) { ...@@ -34,6 +34,10 @@ func testCthread(t *testing.T) {
if runtime.GOARCH == "arm" { if runtime.GOARCH == "arm" {
t.Skip("testCthread disabled on 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) C.doAdd(10, 6)
......
...@@ -172,6 +172,9 @@ func TestCallbackGC(t *testing.T) { ...@@ -172,6 +172,9 @@ func TestCallbackGC(t *testing.T) {
} }
func TestCallbackPanic(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. // Make sure panic during callback unwinds properly.
if runtime.LockedOSThread() { if runtime.LockedOSThread() {
t.Fatal("locked OS thread on entry to TestCallbackPanic") t.Fatal("locked OS thread on entry to TestCallbackPanic")
......
...@@ -72,8 +72,6 @@ if errorlevel 1 goto fail ...@@ -72,8 +72,6 @@ if errorlevel 1 goto fail
echo. echo.
:: cgo tests :: cgo tests
:: issue 4955 - cgo is broken
goto nocgo
if x%CGO_ENABLED% == x0 goto nocgo if x%CGO_ENABLED% == x0 goto nocgo
echo # ..\misc\cgo\life echo # ..\misc\cgo\life
go run %GOROOT%\test\run.go - ..\misc\cgo\life go run %GOROOT%\test\run.go - ..\misc\cgo\life
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment