Skip to content

Commit ed3ea52

Browse files
dmitshurgopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Bryan Mills <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Bryan Mills <[email protected]>
1 parent c3db9af commit ed3ea52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/go/testdata/script/build_plugin_reproducible.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
go build -trimpath -buildvcs=false -buildmode=plugin -o a.so main.go
55
go build -trimpath -buildvcs=false -buildmode=plugin -o b.so main.go
6-
cmp a.so b.so
6+
cmp -q a.so b.so
77

88
-- main.go --
99
package main

0 commit comments

Comments
 (0)