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

Side by Side Diff: build/android/pylib/utils/report_results.py

Issue 18323020: Updates the test runner script exit codes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes Python dispatch issues in test_runner.py Created 7 years, 5 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 | « build/android/pylib/uiautomator/dispatch.py ('k') | build/android/run_monkey_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 """Module containing utility functions for reporting results.""" 5 """Module containing utility functions for reporting results."""
6 6
7 import logging 7 import logging
8 import os 8 import os
9 import re 9 import re
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 # instrumenation test package using different annotations. 103 # instrumenation test package using different annotations.
104 if annotation and len(annotation) == 1: 104 if annotation and len(annotation) == 1:
105 test_suite = annotation[0] 105 test_suite = annotation[0]
106 else: 106 else:
107 test_suite = test_package 107 test_suite = test_package
108 _LogToFile(results, test_type, test_suite, build_type) 108 _LogToFile(results, test_type, test_suite, build_type)
109 109
110 if flakiness_server: 110 if flakiness_server:
111 _LogToFlakinessDashboard(results, test_type, test_package, 111 _LogToFlakinessDashboard(results, test_type, test_package,
112 flakiness_server) 112 flakiness_server)
113
114
115 def PrintAnnotation(results):
116 """Print buildbot annotations for test results."""
117 if not results.DidRunPass():
118 buildbot_report.PrintError()
119 else:
120 print 'Step success!' # No annotation needed
OLDNEW
« no previous file with comments | « build/android/pylib/uiautomator/dispatch.py ('k') | build/android/run_monkey_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698