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

Issue 231300043: Allow ImageMagick's compare to exit with status 1 (Closed)

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

Description

Allow ImageMagick's compare to exit with status 1 Apparently Ubuntu 15.04 has a version of "compare" that cannot be easily persuaded to return anything but exit status 1 (which indicates dissimilar images but no actual error condition) so we allow this in script/build/output-distance.py in order to keep "make check" from failing. This patch is somewhat artless but does the trick.

Patch Set 1 #

Patch Set 2 : Python's os.system scales return values by 256. Ugh. #

Patch Set 3 : Don't allow death by signal #

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

Messages

Total messages: 2
dak
Python's os.system scales return values by 256. Ugh.
8 years, 12 months ago (2015-05-01 23:37:35 UTC) #1
dak
8 years, 12 months ago (2015-05-01 23:52:10 UTC) #2
Don't allow death by signal
Sign in to reply to this message.

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