Commit 77cbb323 authored by rnephew's avatar rnephew Committed by Commit bot

Check for appurify detecting failure.

BUG=428729

Review URL: https://codereview.chromium.org/840033004

Cr-Commit-Position: refs/heads/master@{#310702}
parent d909464c
......@@ -62,4 +62,8 @@ class RemoteDeviceGtestRun(remote_device_test_run.RemoteDeviceTestRun):
if l.startswith(self._INSTRUMENTATION_STREAM_LEADER))
results_list = self._test_instance.ParseGTestOutput(output)
results.AddResults(results_list)
if not self._results['results']['pass']:
results.AddResult(base_test_result.BaseTestResult(
'Remote Service detected error.',
base_test_result.ResultType.FAIL))
return results
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment