| Index: build/android/pylib/instrumentation/test_runner.py
|
| diff --git a/build/android/pylib/instrumentation/test_runner.py b/build/android/pylib/instrumentation/test_runner.py
|
| index ec0baeea1c3647d2ba81b568b1ab6209efec6639..424dcb3b1a564e511a528730c1c7716b41ceffe1 100644
|
| --- a/build/android/pylib/instrumentation/test_runner.py
|
| +++ b/build/android/pylib/instrumentation/test_runner.py
|
| @@ -237,10 +237,8 @@ class TestRunner(base_test_runner.BaseTestRunner):
|
| '/data/data/com.google.android.apps.chrome/files/PerfTestData.txt',
|
| as_root=True)
|
|
|
| - if json_string:
|
| - json_string = '\n'.join(json_string)
|
| - else:
|
| - raise Exception('Perf file does not exist or is empty')
|
| + if not json_string:
|
| + raise Exception('Perf file is empty')
|
|
|
| if self.options.save_perf_json:
|
| json_local_file = '/tmp/chromium-android-perf-json-' + raw_test_name
|
|
|