Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2638)

Issue 51000044: code review 51000044: cmd/link: replace golden binary files with hex dumps (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by rsc
Modified:
11 years, 2 months ago
Reviewers:
iant
CC:
iant, golang-codereviews
Visibility:
Public.

Description

cmd/link: replace golden binary files with hex dumps The hex dumps will diff better, and I hope they will avoid a repeat of http://bugs.debian.org/716853. The CL will probably show the testdata diffs as "binary", but in fact the binary versions are being replaced by textual hex dumps (output of hexdump -C).

Patch Set 1 #

Patch Set 2 : diff -r 21fb28e644a1 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 21fb28e644a1 https://code.google.com/p/go/ #

Total comments: 1

Patch Set 4 : diff -r c93fc4d989ad https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -5 lines) Patch
A src/cmd/link/hex_test.go View 1 2 3 1 chunk +74 lines, -0 lines 0 comments Download
M src/cmd/link/prog_test.go View 1 2 3 1 chunk +7 lines, -5 lines 0 comments Download
M src/cmd/link/testdata/link.hello.darwin.amd64 View 1 2 3 Binary file 0 comments Download
M src/cmd/link/testdata/macho.amd64.exit9 View 1 2 Binary file 0 comments Download
M src/cmd/link/testdata/macho.amd64.hello View 1 2 Binary file 0 comments Download
M src/cmd/link/testdata/macho.amd64.helloro View 1 2 Binary file 0 comments Download

Messages

Total messages: 4
rsc
Hello iant (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
11 years, 2 months ago (2014-01-13 02:44:41 UTC) #1
iant
LGTM What about cmd/link/testdata/hello.6 ? https://codereview.appspot.com/51000044/diff/40001/src/cmd/link/hex_test.go File src/cmd/link/hex_test.go (right): https://codereview.appspot.com/51000044/diff/40001/src/cmd/link/hex_test.go#newcode32 src/cmd/link/hex_test.go:32: // output of "hexdump" ...
11 years, 2 months ago (2014-01-13 18:48:37 UTC) #2
rsc
On 2014/01/13 18:48:37, iant wrote: > What about cmd/link/testdata/hello.6 ? hello.6 is an input, not ...
11 years, 2 months ago (2014-01-14 04:06:21 UTC) #3
rsc
11 years, 2 months ago (2014-01-14 04:07:45 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=29156b17bdb7 ***

cmd/link: replace golden binary files with hex dumps

The hex dumps will diff better, and I hope they will avoid
a repeat of http://bugs.debian.org/716853.

The CL will probably show the testdata diffs as "binary",
but in fact the binary versions are being replaced by
textual hex dumps (output of hexdump -C).

R=iant
CC=golang-codereviews
https://codereview.appspot.com/51000044
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b