Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: build/android/pylib/gtest/test_package_apk.py

Issue 17467003: [android] Switch test scripts to use last modified time instead of md5sum when checking dependencie… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments on timemodified.cc Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/android/pylib/gtest/test_package_apk.py
diff --git a/build/android/pylib/gtest/test_package_apk.py b/build/android/pylib/gtest/test_package_apk.py
index 8b9badb3a0aa43dd90d5b123537d487de0dd3703..afd01a5dc6c7df0dfc74069dd3a20dca69e2dcf5 100644
--- a/build/android/pylib/gtest/test_package_apk.py
+++ b/build/android/pylib/gtest/test_package_apk.py
@@ -122,8 +122,8 @@ class TestPackageApk(TestPackage):
def _NeedsInstall(self):
installed_apk_path = self.adb.GetApplicationPath(self._apk_package_name)
if installed_apk_path:
- return not self.adb.CheckMd5Sum(
- self.test_suite_full, installed_apk_path, ignore_paths=True)
+ return self.adb.AreFilesUnsynchronized(
+ self.test_suite_full, installed_apk_path)
else:
return True

Powered by Google App Engine
This is Rietveld 408576698