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

Side by Side Diff: build/android/pylib/remote/device/remote_device_gtest_run.py

Issue 2014333002: [Android] Fix unknown handling in gtest_test_instance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable failing tests Created 4 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Run specific test on specific environment.""" 5 """Run specific test on specific environment."""
6 6
7 import logging 7 import logging
8 import os 8 import os
9 import tempfile 9 import tempfile
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 _INSTRUMENTATION_STREAM_LEADER = 'INSTRUMENTATION_STATUS: stream=' 76 _INSTRUMENTATION_STREAM_LEADER = 'INSTRUMENTATION_STATUS: stream='
77 77
78 #override 78 #override
79 def _ParseTestResults(self): 79 def _ParseTestResults(self):
80 logging.info('Parsing results from stdout.') 80 logging.info('Parsing results from stdout.')
81 results = base_test_result.TestRunResults() 81 results = base_test_result.TestRunResults()
82 output = self._results['results']['output'].splitlines() 82 output = self._results['results']['output'].splitlines()
83 output = (l[len(self._INSTRUMENTATION_STREAM_LEADER):] for l in output 83 output = (l[len(self._INSTRUMENTATION_STREAM_LEADER):] for l in output
84 if l.startswith(self._INSTRUMENTATION_STREAM_LEADER)) 84 if l.startswith(self._INSTRUMENTATION_STREAM_LEADER))
85 results_list = self._test_instance.ParseGTestOutput(output) 85 results_list = gtest_test_instance.ParseGTestOutput(output)
86 results.AddResults(results_list) 86 results.AddResults(results_list)
87 87
88 self._DetectPlatformErrors(results) 88 self._DetectPlatformErrors(results)
89 return results 89 return results
OLDNEW
« no previous file with comments | « build/android/pylib/local/device/local_device_gtest_run.py ('k') | content/browser/download/mhtml_generation_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698