From: Alex Brainman Date: Tue, 13 Mar 2012 01:51:28 +0000 (+1100) Subject: test: actually run them on windows X-Git-Tag: weekly.2012-03-13~17 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7c128493a41168f35201a26a6f32ee36fe9cc852;p=gostls13.git test: actually run them on windows R=golang-dev, r, rsc, bradfitz, minux.ma CC=golang-dev https://golang.org/cl/5756065 --- diff --git a/src/run.bat b/src/run.bat index f1eebe374a..1a3412602c 100644 --- a/src/run.bat +++ b/src/run.bat @@ -39,11 +39,13 @@ echo. :: TODO: The other tests in run.bash. echo # test -cd test +cd ..\test +set FAIL=0 go run run.go -cd .. -if errorlevel 1 goto fail +if errorlevel 1 set FAIL=1 +cd ..\src echo. +if %FAIL%==1 goto fail echo ALL TESTS PASSED goto end