diff options
author | Alex Brainman <alex.brainman@gmail.com> | 2012-03-20 14:04:20 +1100 |
---|---|---|
committer | Alex Brainman <alex.brainman@gmail.com> | 2012-03-20 14:04:20 +1100 |
commit | d3c31fbd9cd1b4c4daab192fbd32b3fca769b528 (patch) | |
tree | ec4cb6478d67a47f67932358d10b5425d083c52e /src/run.bat | |
parent | d5175cdc2db0ccf7b9eda1310bc59e80a4f726c7 (diff) | |
download | go-d3c31fbd9cd1b4c4daab192fbd32b3fca769b528.tar.gz |
build: do more during windows build
- use GO_GCFLAGS and GO_LDFLAGS if supplied
- build misc\dashboard\builder and misc\goplay
- run tests in test\bench\go1
- check api compatibility
R=golang-dev, r, kardianos, bradfitz
CC=golang-dev
http://codereview.appspot.com/5847063
Diffstat (limited to 'src/run.bat')
-rw-r--r-- | src/run.bat | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/run.bat b/src/run.bat index 1a3412602..01d0b4f95 100644 --- a/src/run.bat +++ b/src/run.bat @@ -36,6 +36,16 @@ go test sync -short -timeout=120s -cpu=10 if errorlevel 1 goto fail echo. +echo # ..\misc\dashboard\builder ..\misc\goplay +go build ..\misc\dashboard\builder ..\misc\goplay +if errorlevel 1 goto fail +echo. + +echo # ..\test\bench\go1 +go test ..\test\bench\go1 +if errorlevel 1 goto fail +echo. + :: TODO: The other tests in run.bash. echo # test @@ -47,6 +57,11 @@ cd ..\src echo. if %FAIL%==1 goto fail +echo # Checking API compatibility. +go tool api -c ..\api\go1.txt +if errorlevel 1 goto fail +echo. + echo ALL TESTS PASSED goto end |