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

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

Issue 840033004: Check for appurify detecting failure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use bool instead of string Created 5 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 sys 9 import sys
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 if self._results['results']['exception']: 55 if self._results['results']['exception']:
56 results.AddResult(base_test_result.BaseTestResult( 56 results.AddResult(base_test_result.BaseTestResult(
57 self._results['results']['exception'], 57 self._results['results']['exception'],
58 base_test_result.ResultType.FAIL)) 58 base_test_result.ResultType.FAIL))
59 else: 59 else:
60 output = self._results['results']['output'].splitlines() 60 output = self._results['results']['output'].splitlines()
61 output = (l[len(self._INSTRUMENTATION_STREAM_LEADER):] for l in output 61 output = (l[len(self._INSTRUMENTATION_STREAM_LEADER):] for l in output
62 if l.startswith(self._INSTRUMENTATION_STREAM_LEADER)) 62 if l.startswith(self._INSTRUMENTATION_STREAM_LEADER))
63 results_list = self._test_instance.ParseGTestOutput(output) 63 results_list = self._test_instance.ParseGTestOutput(output)
64 results.AddResults(results_list) 64 results.AddResults(results_list)
65 if not self._results['results']['pass']:
66 results.AddResult(base_test_result.BaseTestResult(
67 'Remote Service detected error.',
68 base_test_result.ResultType.FAIL))
65 return results 69 return results
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698