Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
7fc47928
Commit
7fc47928
authored
Feb 16, 2012
by
Hector Chu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make.bat, run.bat: echo newlines
R=golang-dev, rsc CC=golang-dev
https://golang.org/cl/5671072
parent
014568be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
make.bat
src/make.bat
+4
-5
run.bat
src/run.bat
+4
-4
No files found.
src/make.bat
View file @
7fc47928
...
...
@@ -38,8 +38,7 @@ if errorlevel 1 goto fail
if errorlevel 1 goto fail
call env.bat
del env.bat
:: Echo with no arguments prints whether echo is turned on, so echo dot.
echo .
echo.
echo # Building compilers and Go bootstrap tool.
set buildall=-a
...
...
@@ -49,7 +48,7 @@ if errorlevel 1 goto fail
:: Delay move of dist tool to now, because bootstrap cleared tool directory.
move .\cmd\dist\dist.exe %GOTOOLDIR%\dist.exe
%GOTOOLDIR%\go_bootstrap clean -i std
echo
.
echo.
if not %GOHOSTARCH% == %GOARCH% goto localbuild
if not %GOHOSTOS% == %GOOS% goto localbuild
...
...
@@ -63,14 +62,14 @@ set GOARCH=%GOHOSTARCH%
%GOTOOLDIR%\go_bootstrap install -v std
endlocal
if errorlevel 1 goto fail
echo
.
echo.
:mainbuild
echo # Building packages and commands.
%GOTOOLDIR%\go_bootstrap install -a -v std
if errorlevel 1 goto fail
del %GOTOOLDIR%\go_bootstrap.exe
echo
.
echo.
if x%1==x--no-banner goto nobanner
%GOTOOLDIR%\dist banner
...
...
src/run.bat
View file @
7fc47928
...
...
@@ -18,23 +18,23 @@ if x%1==x--no-rebuild goto norebuild
echo # Building packages and commands.
go install -a -v std
if errorlevel 1 goto fail
echo
.
echo.
:norebuild
echo # Testing packages.
go test std -short -timeout=120s
if errorlevel 1 goto fail
echo
.
echo.
echo # runtime -cpu=1,2,4
go test runtime -short -timeout=120s -cpu=1,2,4
if errorlevel 1 goto fail
echo
.
echo.
echo # sync -cpu=10
go test sync -short -timeout=120s -cpu=10
if errorlevel 1 goto fail
echo
.
echo.
:: TODO: The other tests in run.bash, especially $GOROOT/test/run.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment