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

Delta Between Two Patch Sets: src/run.rc

Issue 7389049: code review 7389049: build: do not set GOBIN on Plan 9 (Closed)
Left Patch Set: diff -r 512627a9cdb8 https://code.google.com/p/go/ Created 12 years ago
Right Patch Set: diff -r b2cf2bf50e1f https://code.google.com/p/go/ Created 12 years 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 | « src/make.rc ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #!/bin/rc -e 1 #!/bin/rc -e
2 # Copyright 2012 The Go Authors. All rights reserved. 2 # Copyright 2012 The Go Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style 3 # Use of this source code is governed by a BSD-style
4 # license that can be found in the LICENSE file. 4 # license that can be found in the LICENSE file.
5 5
6 rfork ne 6 rfork e
7 7
8 eval `{go env} 8 eval `{go env}
9 9
10 GOPATH = () # we disallow local import for non-local packges, if $GOROOT happens 10 GOPATH = () # we disallow local import for non-local packges, if $GOROOT happens
11 # to be under $GOPATH, then some tests below will fail 11 # to be under $GOPATH, then some tests below will fail
12
13 # Bind $GOROOT/bin before /bin.
14 bind -b $GOROOT/bin /bin
15 12
16 # allow all.rc to avoid double-build of everything 13 # allow all.rc to avoid double-build of everything
17 rebuild = true 14 rebuild = true
18 if(~ $1 --no-rebuild) 15 if(~ $1 --no-rebuild)
19 shift 16 shift
20 if not { 17 if not {
21 # Run only one process at a time on 9vx. 18 # Run only one process at a time on 9vx.
22 if(~ $sysname vx32) 19 if(~ $sysname vx32)
23 pflag = (-p 1) 20 pflag = (-p 1)
24 echo '# Building packages and commands.' 21 echo '# Building packages and commands.'
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 echo '#' ../test/bench/go1 54 echo '#' ../test/bench/go1
58 go test ../test/bench/go1 55 go test ../test/bench/go1
59 56
60 @{ 57 @{
61 xcd ../test 58 xcd ../test
62 GOMAXPROCS='' time go run run.go 59 GOMAXPROCS='' time go run run.go
63 } 60 }
64 61
65 echo 62 echo
66 echo ALL TESTS PASSED 63 echo ALL TESTS PASSED
LEFTRIGHT
« src/make.rc ('k') | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

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