diff options
author | Dmitri Shuralyov <dmitshur@golang.org> | 2023-05-12 08:54:24 -0400 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-05-12 14:29:53 +0000 |
commit | ed3ea520812e314b2948ae39267105fa517bd9fe (patch) | |
tree | 2a7cdefd2c51b0e1099d0b8ec7c749e4dc322cfe /src/cmd | |
parent | c3db9af3a68f1a12d97d5cebaa434cd6e10dd11f (diff) | |
download | go-git-ed3ea520812e314b2948ae39267105fa517bd9fe.tar.gz |
cmd/go: diff .so files quietly in TestScript/build_plugin_reproducible
This avoids printing verbose binary data and making bell sounds when the
test fails. The binary data can be inspected via other means if needed.
For #58557.
Change-Id: Ia1c4f2c6b9ff2cf6f97611cf335b978fc7bb201f
Reviewed-on: https://go-review.googlesource.com/c/go/+/494577
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/go/testdata/script/build_plugin_reproducible.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/testdata/script/build_plugin_reproducible.txt b/src/cmd/go/testdata/script/build_plugin_reproducible.txt index b19f0eaa0d..5369954859 100644 --- a/src/cmd/go/testdata/script/build_plugin_reproducible.txt +++ b/src/cmd/go/testdata/script/build_plugin_reproducible.txt @@ -3,7 +3,7 @@ go build -trimpath -buildvcs=false -buildmode=plugin -o a.so main.go go build -trimpath -buildvcs=false -buildmode=plugin -o b.so main.go -cmp a.so b.so +cmp -q a.so b.so -- main.go -- package main |