diff options
author | Bryan C. Mills <bcmills@google.com> | 2019-10-09 20:13:40 +0000 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2019-10-09 20:30:46 +0000 |
commit | b3104fe3af99c965b5e9a954264dfc384f21bb37 (patch) | |
tree | 0b402f6b6e819b69ed55406232b090ab74bf36dc /src/cmd/objdump | |
parent | 4c7a8d63e4042d16f87bf63720e3814683b0cb4b (diff) | |
download | go-b3104fe3af99c965b5e9a954264dfc384f21bb37.tar.gz go-b3104fe3af99c965b5e9a954264dfc384f21bb37.zip |
Revert "cmd/go: fail if a test binary exits with no output"
This reverts CL 184457.
Reason for revert: introduced failures in the regression test for #18153.
Fixes #34791
Updates #29062
Change-Id: I4040965163f809083c023be055e69b1149d6214e
Reviewed-on: https://go-review.googlesource.com/c/go/+/200106
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/objdump')
-rw-r--r-- | src/cmd/objdump/objdump_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/objdump/objdump_test.go b/src/cmd/objdump/objdump_test.go index e4ae9babcb..b24371ddea 100644 --- a/src/cmd/objdump/objdump_test.go +++ b/src/cmd/objdump/objdump_test.go @@ -22,7 +22,9 @@ import ( var tmp, exe string // populated by buildObjdump func TestMain(m *testing.M) { - testenv.MainMust(testenv.HasGoBuild) + if !testenv.HasGoBuild() { + return + } var exitcode int if err := buildObjdump(); err == nil { |