tell us when we're wrong

This commit is contained in:
Thomas Vander Stichele
2009-05-15 21:02:19 +00:00
parent dc5f2ba75f
commit a5735b277b

View File

@@ -261,6 +261,10 @@ def main(argv):
start, stop - 1,
offset=int(options.offset))
function(runner, t)
if t.checksum:
print 'Checksums match for track %d' % 0
else:
print 'ERROR: checksums did not match for track %d' % 0
# overlay this rip onto the IndexTable
itable.setFile(1, 0, path, stop - start, 0)
@@ -282,6 +286,8 @@ def main(argv):
function(runner, t)
if t.checksum:
print 'Checksums match for track %d' % (i + 1)
else:
print 'ERROR: checksums did not match for track %d' % (i + 1)
# overlay this rip onto the IndexTable
itable.setFile(i + 1, 1, path, ittoc.getTrackLength(i + 1), i + 1)