1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:54:45 -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 if errorlevel 1 goto fail
echo. 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
::echo # ..\test\bench\go1 go test ..\test\bench\go1
::go test ..\test\bench\go1 if errorlevel 1 goto fail
::if errorlevel 1 goto fail echo.
::echo.
:: cgo tests :: cgo tests
if x%CGO_ENABLED% == x0 goto nocgo if x%CGO_ENABLED% == x0 goto nocgo
@ -77,11 +76,10 @@ if x%CGO_ENABLED% == x0 goto nocgo
::if errorlevel 1 goto fail ::if errorlevel 1 goto fail
::echo. ::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
::echo # ..\misc\cgo\test go test ..\misc\cgo\test
::go test ..\misc\cgo\test if errorlevel 1 goto fail
::if errorlevel 1 goto fail echo.
::echo.
:nocgo :nocgo
echo # ..\doc\progs echo # ..\doc\progs