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

Unified Diff: build/android/pylib/browsertests/dispatch.py

Issue 12544033: [Android] Rewrite base test result classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: build/android/pylib/browsertests/dispatch.py
diff --git a/build/android/pylib/browsertests/dispatch.py b/build/android/pylib/browsertests/dispatch.py
index 7e4e16cb5520878d9114e1e456f43731c723ea84..d0066effa7276db386180da261bf1d9edd41d4e7 100644
--- a/build/android/pylib/browsertests/dispatch.py
+++ b/build/android/pylib/browsertests/dispatch.py
@@ -12,6 +12,8 @@ from pylib import ports
from pylib.base import shard
from pylib.gtest import dispatch as gtest_dispatch
from pylib.gtest import test_runner
+from pylib.utils import report_results
+
def Dispatch(options):
@@ -62,12 +64,13 @@ def Dispatch(options):
# Run tests.
test_results = shard.ShardAndRunTests(RunnerFactory, attached_devices,
all_tests, options.build_type)
- test_results.LogFull(
+ report_results.LogFull(
+ results=test_results,
test_type='Unit test',
test_package=constants.BROWSERTEST_SUITE_NAME,
build_type=options.build_type,
flakiness_server=options.flakiness_dashboard_server)
- test_results.PrintAnnotation()
+ report_results.PrintAnnotation(test_results)
def _FilterTests(all_enabled_tests):
"""Filters out tests and fixtures starting with PRE_ and MANUAL_."""

Powered by Google App Engine
This is Rietveld 408576698