aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2012-03-13 12:51:28 +1100
committerAlex Brainman <alex.brainman@gmail.com>2012-03-13 12:51:28 +1100
commit7c128493a41168f35201a26a6f32ee36fe9cc852 (patch)
tree45a4c8594cf6c878a0c2289486ef2938daff782e
parent0238cec02144991036dadb7ee58e8c9a2de2b0de (diff)
downloadgo-7c128493a41168f35201a26a6f32ee36fe9cc852.tar.gz
go-7c128493a41168f35201a26a6f32ee36fe9cc852.zip
test: actually run them on windows
R=golang-dev, r, rsc, bradfitz, minux.ma CC=golang-dev https://golang.org/cl/5756065
-rw-r--r--src/run.bat8
1 files 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