| Index: build/android/pylib/base/base_test_runner.py
|
| diff --git a/build/android/pylib/base/base_test_runner.py b/build/android/pylib/base/base_test_runner.py
|
| index f2dd817044aec4762c46c589c90c0bca576a215f..812a85768c2225941ff71eaddb536c74e6453711 100644
|
| --- a/build/android/pylib/base/base_test_runner.py
|
| +++ b/build/android/pylib/base/base_test_runner.py
|
| @@ -93,11 +93,19 @@ class BaseTestRunner(object):
|
| """Run once before all tests are run."""
|
| Forwarder.KillDevice(self.adb, self.tool)
|
| self.InstallTestPackage()
|
| + push_size_before = self.adb.GetPushSizeInfo()
|
| if self._push_deps:
|
| - logging.info('Pushing data deps to device.')
|
| + logging.warning('Pushing data files to device.')
|
| self.PushDataDeps()
|
| + push_size_after = self.adb.GetPushSizeInfo()
|
| + logging.warning(
|
| + 'Total data: %0.3fMB' %
|
| + ((push_size_after[0] - push_size_before[0]) / float(2 ** 20)))
|
| + logging.warning(
|
| + 'Total data transferred: %0.3fMB' %
|
| + ((push_size_after[1] - push_size_before[1]) / float(2 ** 20)))
|
| else:
|
| - logging.warning('Skipping pushing data deps to device.')
|
| + logging.warning('Skipping pushing data to device.')
|
|
|
| def TearDown(self):
|
| """Run once after all tests are run."""
|
|
|