Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(30)

Delta Between Two Patch Sets: src/run.bat

Issue 5847068: code review 5847068: misc/cgo/stdio: make it work on Windows (Closed)
Left Patch Set: diff -r 62f087306b18 https://code.google.com/p/go/ Created 12 years, 8 months ago
Right Patch Set: diff -r e24d688078cd https://code.google.com/p/go/ Created 12 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « misc/cgo/stdio/stdio_netbsd.go ('k') | test/run.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 :: Copyright 2012 The Go Authors. All rights reserved. 1 :: Copyright 2012 The Go Authors. All rights reserved.
2 :: Use of this source code is governed by a BSD-style 2 :: Use of this source code is governed by a BSD-style
3 :: license that can be found in the LICENSE file. 3 :: license that can be found in the LICENSE file.
4 @echo off 4 @echo off
5 5
6 :: Keep environment variables within this script 6 :: Keep environment variables within this script
7 :: unless invoked with --no-local. 7 :: unless invoked with --no-local.
8 if x%1==x--no-local goto nolocal 8 if x%1==x--no-local goto nolocal
9 if x%2==x--no-local goto nolocal 9 if x%2==x--no-local goto nolocal
10 setlocal 10 setlocal
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 echo # sync -cpu=10 50 echo # sync -cpu=10
51 go test sync -short -timeout=120s -cpu=10 51 go test sync -short -timeout=120s -cpu=10
52 if errorlevel 1 goto fail 52 if errorlevel 1 goto fail
53 echo. 53 echo.
54 54
55 echo # ..\misc\dashboard\builder ..\misc\goplay 55 echo # ..\misc\dashboard\builder ..\misc\goplay
56 go build ..\misc\dashboard\builder ..\misc\goplay 56 go build ..\misc\dashboard\builder ..\misc\goplay
57 if errorlevel 1 goto fail 57 if errorlevel 1 goto fail
58 echo. 58 echo.
59 59
60 :: TODO(brainman): disabled, because it fails with: mkdir C:\Users\ADMINI~1\AppD ata\Local\Temp\2.....\test\bench\: The filename or extension is too long. 60 echo # ..\test\bench\go1
61 ::echo # ..\test\bench\go1 61 go test ..\test\bench\go1
62 ::go test ..\test\bench\go1 62 if errorlevel 1 goto fail
63 echo.
64
65 :: cgo tests
66 if x%CGO_ENABLED% == x0 goto nocgo
67 :: TODO(brainman) disabled, because it is broken on go builder - http://golang.o rg/issue/4063
68 ::echo # ..\misc\cgo\life
69 ::go run %GOROOT%\test\run.go - ..\misc\cgo\life
63 ::if errorlevel 1 goto fail 70 ::if errorlevel 1 goto fail
64 ::echo. 71 ::echo.
65 72
66 :: cgo tests 73 echo # ..\misc\cgo\stdio
67 :: TODO: Other cgo tests 74 go run %GOROOT%\test\run.go - ..\misc\cgo\stdio
68 if x%CGO_ENABLED% == x0 goto nocgo
69 echo # ..\misc\cgo\life
70 go run %GOROOT%\test\run.go - ..\misc\cgo\life
71 if errorlevel 1 goto fail 75 if errorlevel 1 goto fail
72 echo. 76 echo.
73 77
74 echo # ..\misc\cgo\stdio 78 echo # ..\misc\cgo\test
75 go run %GOROOT%\test\run.go - ..\misc\cgo\stdio 79 go test ..\misc\cgo\test
76 if errorlevel 1 goto fail 80 if errorlevel 1 goto fail
77 echo. 81 echo.
78 :nocgo 82 :nocgo
79 83
80 echo # ..\doc\progs 84 echo # ..\doc\progs
81 go run %GOROOT%\test\run.go - ..\doc\progs 85 go run %GOROOT%\test\run.go - ..\doc\progs
82 if errorlevel 1 goto fail 86 if errorlevel 1 goto fail
83 echo. 87 echo.
84 88
85 :: TODO: The other tests in run.bash. 89 :: TODO: The other tests in run.bash.
(...skipping 12 matching lines...) Expand all
98 if errorlevel 1 goto fail 102 if errorlevel 1 goto fail
99 echo. 103 echo.
100 104
101 echo ALL TESTS PASSED 105 echo ALL TESTS PASSED
102 goto end 106 goto end
103 107
104 :fail 108 :fail
105 set GOBUILDFAIL=1 109 set GOBUILDFAIL=1
106 110
107 :end 111 :end
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b