From ed3ea520812e314b2948ae39267105fa517bd9fe Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Fri, 12 May 2023 08:54:24 -0400 Subject: [PATCH] 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 Reviewed-by: Bryan Mills Reviewed-by: Dmitri Shuralyov TryBot-Result: Gopher Robot Run-TryBot: Bryan Mills --- src/cmd/go/testdata/script/build_plugin_reproducible.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.48.1