From 7c128493a41168f35201a26a6f32ee36fe9cc852 Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Tue, 13 Mar 2012 12:51:28 +1100 Subject: [PATCH] test: actually run them on windows R=golang-dev, r, rsc, bradfitz, minux.ma CC=golang-dev https://golang.org/cl/5756065 --- src/run.bat | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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