1
0
mirror of https://github.com/golang/go synced 2024-11-21 14:54:40 -07:00

misc/cgo/test and test/bench/go1: enable these tests on windows

R=golang-dev, r, bradfitz
CC=golang-dev
https://golang.org/cl/6488127
This commit is contained in:
Alex Brainman 2012-09-19 12:07:25 +10:00
parent 1ad5f87635
commit 8627e5c0a1

View File

@ -57,11 +57,10 @@ go build ..\misc\dashboard\builder ..\misc\goplay
if errorlevel 1 goto fail
echo.
:: TODO(brainman): disabled, because it fails with: mkdir C:\Users\ADMINI~1\AppData\Local\Temp\2.....\test\bench\: The filename or extension is too long.
::echo # ..\test\bench\go1
::go test ..\test\bench\go1
::if errorlevel 1 goto fail
::echo.
echo # ..\test\bench\go1
go test ..\test\bench\go1
if errorlevel 1 goto fail
echo.
:: cgo tests
if x%CGO_ENABLED% == x0 goto nocgo
@ -77,11 +76,10 @@ if x%CGO_ENABLED% == x0 goto nocgo
::if errorlevel 1 goto fail
::echo.
:: TODO(brainman): disabled, because it fails with: mkdir C:\Users\ADMINI~1\AppData\Local\Temp\2.....\go\misc\cgo\: The filename or extension is too long.
::echo # ..\misc\cgo\test
::go test ..\misc\cgo\test
::if errorlevel 1 goto fail
::echo.
echo # ..\misc\cgo\test
go test ..\misc\cgo\test
if errorlevel 1 goto fail
echo.
:nocgo
echo # ..\doc\progs