зеркало из https://github.com/golang/tools.git
780626cdd1
testenv.HasExec should not assume that "js" and "ios" are the only platforms that can't exec. Instead of hard-coding a list of GOOS, hard-code only the ones known to work and probe the remainder by trying to re-exec the test binary. Similarly, in testenv_notunix, negate the list of unix platforms instead of hard-coding the non-unix ones. Add missing calls to testenv functions were needed. For golang/go#58141. Updates golang/go#59718. Change-Id: I0114e0bfb6d091e84b325d7f9bb0896da22482be Reviewed-on: https://go-review.googlesource.com/c/tools/+/486315 Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> Run-TryBot: Bryan Mills <bcmills@google.com> Commit-Queue: Bryan Mills <bcmills@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> |
||
---|---|---|
.. | ||
servertest | ||
conn.go | ||
handler.go | ||
jsonrpc2.go | ||
jsonrpc2_test.go | ||
messages.go | ||
serve.go | ||
serve_test.go | ||
stream.go | ||
wire.go | ||
wire_test.go |