Chromium Code Reviews| Index: build/android/pylib/local/device/local_device_instrumentation_test_run.py |
| diff --git a/build/android/pylib/local/device/local_device_instrumentation_test_run.py b/build/android/pylib/local/device/local_device_instrumentation_test_run.py |
| index 2d574de1fd2017149062cb63c9c4eb12e6023bad..4f6c1b18f11e6bb396d7901e00c85d1930a02567 100644 |
| --- a/build/android/pylib/local/device/local_device_instrumentation_test_run.py |
| +++ b/build/android/pylib/local/device/local_device_instrumentation_test_run.py |
| @@ -264,6 +264,8 @@ class LocalDeviceInstrumentationTestRun( |
| base_test_result.ResultType.SKIP) |
| for r in results): |
| logging.info('detected failure in %s. raw output:', test_display_name) |
| + if self._test_instance.screenshot_failures: |
|
mikecase (-- gone --)
2016/05/16 23:40:50
I can't imagine this takes a screenshot before Chr
BigBossZhiling
2016/05/18 17:46:11
You are right. lol. It is only useful in a few occ
|
| + device.TakeScreenshot() |
|
mikecase (-- gone --)
2016/05/16 23:40:50
This should probably specify the host_path arg for
jbudorick
2016/05/17 00:01:16
+1, we should be able to specify this.
BigBossZhiling
2016/05/18 17:46:12
Done.
BigBossZhiling
2016/05/18 17:46:12
Done.
|
| for l in output: |
| logging.info(' %s', l) |
| if (not self._env.skip_clear_data |