blockimgdiff.py: Add a test case for ReviseStashSize().

Bug: 33687949
Test: python -m unittest test_blockimgdiff
Change-Id: I31e42648d2c0e60b941908c098ce5ccc967861ca
This commit is contained in:
Tao Bao
2016-12-19 11:01:38 -08:00
parent cbdc0bd096
commit 304ee27e88
2 changed files with 69 additions and 2 deletions

View File

@@ -723,6 +723,7 @@ class BlockImageDiff(object):
num_of_bytes = new_blocks * self.tgt.blocksize
print(" Total %d blocks (%d bytes) are packed as new blocks due to "
"insufficient cache size." % (new_blocks, num_of_bytes))
return new_blocks
def ComputePatches(self, prefix):
print("Reticulating splines...")