| Index: build/android/pylib/remote/device/remote_device_test_run.py
|
| diff --git a/build/android/pylib/remote/device/remote_device_test_run.py b/build/android/pylib/remote/device/remote_device_test_run.py
|
| index 6388bdc53432638d792c59abc531a1f4de9c41ac..43a739949dcb327b9c69c765f4730dbd4b4792cc 100644
|
| --- a/build/android/pylib/remote/device/remote_device_test_run.py
|
| +++ b/build/android/pylib/remote/device/remote_device_test_run.py
|
| @@ -170,8 +170,8 @@ class RemoteDeviceTestRun(test_run.TestRun):
|
| """
|
| if results_path:
|
| logging.info('Downloading results to %s.' % results_path)
|
| - if not os.path.exists(os.path.basename(results_path)):
|
| - os.makedirs(os.path.basename(results_path))
|
| + if not os.path.exists(os.path.dirname(results_path)):
|
| + os.makedirs(os.path.dirname(results_path))
|
| with appurify_sanitized.SanitizeLogging(self._env.verbose_count,
|
| logging.WARNING):
|
| appurify_sanitized.utils.wget(self._results['results']['url'],
|
|
|