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

Issue 4893044: Fix 1529: hashed snippet filename changes should not count as log differences (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by Reinhold
Modified:
12 years, 7 months ago
Reviewers:
Keith, pkx166h, reinhold
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Fix 1529: hashed snippet filename changes should not count as log differences If the contents of a regtest change, the regtest gets a new hash and thus a new filename. Unfortunately, this will be detected by output-distance as a change and will show up in the regtest analysis. To work around this, I'm simply extracting the old and the new filename before we compare the log files and if they differ, I replace the old filename with the new filename in the old log file. Thus, it will appear as if the new filename was also used in the baseline and it will not be flagged as a difference.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Forgot to import difflib... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -3 lines) Patch
M scripts/build/output-distance.py View 1 3 chunks +14 lines, -3 lines 0 comments Download

Messages

Total messages: 5
Reinhold
http://codereview.appspot.com/4893044/diff/1/scripts/build/output-distance.py File scripts/build/output-distance.py (right): http://codereview.appspot.com/4893044/diff/1/scripts/build/output-distance.py#newcode481 scripts/build/output-distance.py:481: print "Replacing old filename %s by %s" % (m0.group(1), ...
12 years, 8 months ago (2011-08-21 15:54:28 UTC) #1
Keith
http://codereview.appspot.com/4893044/diff/1/scripts/build/output-distance.py File scripts/build/output-distance.py (left): http://codereview.appspot.com/4893044/diff/1/scripts/build/output-distance.py#oldcode471 scripts/build/output-distance.py:471: import difflib Need to keep this
12 years, 8 months ago (2011-08-23 07:36:51 UTC) #2
pkx166h
passes make but reg test check fails --snip-- reading input/regression/midi/out-test-baseline/key-option-midi.profile reading input/regression/midi/out-test/key-option-midi.profile reading input/regression/midi/out-test-baseline/tree.gittxt reading ...
12 years, 8 months ago (2011-08-24 21:18:56 UTC) #3
reinhold_kainhofer.com
Am Wednesday, 24. August 2011, 23:18:56 schrieb pkx166h@gmail.com: > passes make but reg test check ...
12 years, 8 months ago (2011-08-24 21:53:23 UTC) #4
pkx166h
12 years, 8 months ago (2011-08-27 07:56:11 UTC) #5
passes make and reg tests
Sign in to reply to this message.

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