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/utils/flakiness_dashboard_results_uploader.py

Issue 11967024: [Android] Fix import in flakiness_dashboard_results_uploader.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« 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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 """Uploads the results to the flakiness dashboard server.""" 5 """Uploads the results to the flakiness dashboard server."""
6 6
7 import logging 7 import logging
8 import os 8 import os
9 import shutil 9 import shutil
10 import subprocess 10 import subprocess
11 import sys 11 import sys
12 import tempfile 12 import tempfile
13 import xml
14
13 15
14 # Include path when ran from a Chromium checkout. 16 # Include path when ran from a Chromium checkout.
15 sys.path.append( 17 sys.path.append(
16 os.path.abspath(os.path.join(os.path.dirname(__file__), 18 os.path.abspath(os.path.join(os.path.dirname(__file__),
17 os.pardir, os.pardir, os.pardir, os.pardir, 19 os.pardir, os.pardir, os.pardir, os.pardir,
18 'third_party', 'WebKit', 'Tools', 'Scripts'))) 20 'third_party', 'WebKit', 'Tools', 'Scripts')))
19 21
20 # Include path when ran from a WebKit checkout. 22 # Include path when ran from a WebKit checkout.
21 sys.path.append( 23 sys.path.append(
22 os.path.abspath(os.path.join(os.path.dirname(__file__), 24 os.path.abspath(os.path.join(os.path.dirname(__file__),
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 """Reports test results to the flakiness dashboard for Chrome for Android. 207 """Reports test results to the flakiness dashboard for Chrome for Android.
206 208
207 Args: 209 Args:
208 flakiness_dashboard_server: the server to upload the results to. 210 flakiness_dashboard_server: the server to upload the results to.
209 test_type: the type of the tests (as displayed by the flakiness dashboard). 211 test_type: the type of the tests (as displayed by the flakiness dashboard).
210 results: test results. 212 results: test results.
211 """ 213 """
212 uploader = ResultsUploader(test_type) 214 uploader = ResultsUploader(test_type)
213 uploader.AddResults(results) 215 uploader.AddResults(results)
214 uploader.Upload(flakiness_dashboard_server) 216 uploader.Upload(flakiness_dashboard_server)
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