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_.""" |