]> Cypherpunks.ru repositories - gostls13.git/commitdiff
test: actually run them on windows
authorAlex Brainman <alex.brainman@gmail.com>
Tue, 13 Mar 2012 01:51:28 +0000 (12:51 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Tue, 13 Mar 2012 01:51:28 +0000 (12:51 +1100)
R=golang-dev, r, rsc, bradfitz, minux.ma
CC=golang-dev
https://golang.org/cl/5756065

src/run.bat

index f1eebe374a3973ea28118b68696c20e3a8edc1ef..1a3412602cf6b510014709366bf4d67a05ce1074 100644 (file)
@@ -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