1
0
mirror of https://github.com/golang/go synced 2024-10-04 13:21:22 -06:00
go/src
David du Colombier e29e0ba19a cmd/compile: fix TestAssembly on Plan 9
Since CL 23620, TestAssembly is failing on Plan 9.

In CL 23620, the process environment is passed to 'go tool compile'
after setting GOARCH. On Plan 9, if GOARCH is already set in the
process environment, it would take precedence. On Unix, it works
as expected because the first GOARCH found takes precedence.

This change uses the mergeEnvLists function from cmd/go/main.go
to merge the two environment lists such that variables with the
same name in "in" replace those in "out".

Change-Id: Idee22058343932ee18666dda331c562c89c33507
Reviewed-on: https://go-review.googlesource.com/23593
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: David du Colombier <0intro@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-06-01 13:33:43 +00:00
..
archive archive/zip: use HTTPS for documentation link 2016-05-14 17:27:44 +00:00
bufio all: use SeekStart, SeekCurrent, SeekEnd 2016-05-06 00:10:41 +00:00
builtin
bytes all: use SeekStart, SeekCurrent, SeekEnd 2016-05-06 00:10:41 +00:00
cmd cmd/compile: fix TestAssembly on Plan 9 2016-06-01 13:33:43 +00:00
compress compress/flate: use seperate const block for exported constants 2016-05-31 18:28:44 +00:00
container all: fixed a handful of typos 2016-05-24 21:18:03 +00:00
context context: fix typo in comments 2016-06-01 00:09:32 +00:00
crypto crypto/tls: remove unused variable in benchmark code 2016-06-01 00:06:09 +00:00
database/sql
debug debug/gosym: parse remote packages correctly 2016-05-17 22:16:38 +00:00
encoding encoding/json: improve Decode example 2016-05-26 22:40:14 +00:00
errors
expvar expvar: slightly expand documentation for Var's String method 2016-05-19 04:20:47 +00:00
flag flag: recognize "0s" as the zero value for a flag.Duration 2016-05-31 23:45:47 +00:00
fmt fmt: remove extra space in too few arguments example 2016-05-12 20:45:48 +00:00
go runtime/pprof, cmd/pprof: fix profiling for PIE 2016-05-31 13:02:09 +00:00
hash hash/crc64: Use slicing by 8. 2016-05-18 14:38:04 +00:00
html html/template: mention risks of the CSS, HTML, JS, etc. types 2016-05-18 18:31:18 +00:00
image
index/suffixarray
internal net, net/http: don't trace DNS dials 2016-05-14 00:14:25 +00:00
io io: use SeekStart, SeekCurrent, and SeekEnd in io.Seeker documentation 2016-05-29 06:52:45 +00:00
log
math math/big: using Run for some more benchmarks 2016-05-26 19:14:13 +00:00
mime mime/multipart: sort header keys to ensure reproducible output 2016-05-16 22:55:16 +00:00
net net: don't call forceCloseSockets in non-TestMain functions 2016-05-30 03:30:14 +00:00
os os/exec: remove Cmd.RunContext and Cmd.WaitContext, add CommandContext 2016-05-20 21:19:32 +00:00
path path/filepath: prevent infinite recursion on Windows on UNC input 2016-05-31 00:11:32 +00:00
reflect runtime: tell race detector about reflectOffs.lock 2016-05-26 14:43:27 +00:00
regexp regexp: use Run for benchmark 2016-06-01 10:28:01 +00:00
runtime runtime: fix restoring PC in ARM version of cgocallback_gofunc 2016-05-31 22:14:39 +00:00
sort
strconv
strings strings: fix and reenable amd64 Index for 17-31 byte strings 2016-05-27 22:57:32 +00:00
sync sync: document that RWMutex read locks may not be held recursively 2016-05-31 00:22:56 +00:00
syscall syscall: rename SysProcAttr.Unshare to Unshareflags 2016-06-01 04:27:28 +00:00
testing testing: added package doc for sub(tests/benchmarks) 2016-05-25 17:37:28 +00:00
text text/scanner: better error message if no error handler is installed 2016-05-25 15:44:28 +00:00
time time: run genzabbrs.go with new source data 2016-05-23 18:14:21 +00:00
unicode
unsafe
vendor/golang.org/x/net net/http: update bundled http2 2016-05-19 03:51:11 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
make.bat build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
Make.dist
make.rc build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
run.bat build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
run.rc build: unset GOBIN during build 2016-05-19 18:40:53 +00:00