| Index: build/android/gyp/util/md5_check_test.py
|
| diff --git a/build/android/gyp/util/md5_check_test.py b/build/android/gyp/util/md5_check_test.py
|
| index a18942e292585b0a12135abb00cc4cf6cdb7e409..4a3ee6346bb72e5b4a4a31d0fd078b612b6b1f1a 100644
|
| --- a/build/android/gyp/util/md5_check_test.py
|
| +++ b/build/android/gyp/util/md5_check_test.py
|
| @@ -23,7 +23,7 @@ class TestMd5Check(unittest.TestCase):
|
|
|
| record_path = tempfile.NamedTemporaryFile(suffix='.stamp')
|
|
|
| - def CheckCallAndRecord(should_call, message):
|
| + def CheckCallAndRecord(should_call, message, force=False):
|
| self.called = False
|
| def MarkCalled():
|
| self.called = True
|
| @@ -31,11 +31,13 @@ class TestMd5Check(unittest.TestCase):
|
| MarkCalled,
|
| record_path=record_path.name,
|
| input_paths=input_files,
|
| - input_strings=input_strings)
|
| + input_strings=input_strings,
|
| + force=force)
|
| self.failUnlessEqual(should_call, self.called, message)
|
|
|
| CheckCallAndRecord(True, 'should call when record doesn\'t exist')
|
| CheckCallAndRecord(False, 'should not call when nothing changed')
|
| + CheckCallAndRecord(True, force=True, message='should call when forced')
|
|
|
| input_file1.write('some more input')
|
| input_file1.flush()
|
|
|