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:
Alex Brainman 2013-03-06 15:19:01 -05:00 committed by Russ Cox
parent e44f42e056
commit 2f23f90dab
3 changed files with 7 additions and 2 deletions

View file

@ -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)

View file

@ -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")

View file

@ -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