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

Unified Diff: build/android/pylib/utils/run_tests_helper.py

Issue 19537004: [Android] Converts host driven tests to common test_dispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sharding_refactoring
Patch Set: Adds tagging of host-driven, re-adds exception handling 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 side-by-side diff with in-line comments
Download patch
Index: build/android/pylib/utils/run_tests_helper.py
diff --git a/build/android/pylib/utils/run_tests_helper.py b/build/android/pylib/utils/run_tests_helper.py
index 60823fcd4cd657c8a7dd3720fc3e199059cf1e57..6cb1f9d8851bc1113fa5a119b8839c312b31dec1 100644
--- a/build/android/pylib/utils/run_tests_helper.py
+++ b/build/android/pylib/utils/run_tests_helper.py
@@ -2,10 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""Helper functions common to native, java and python test runners."""
+"""Helper functions common to native, java and host-driven test runners."""
import logging
-import os
import sys
import time
@@ -13,14 +12,14 @@ import time
class CustomFormatter(logging.Formatter):
"""Custom log formatter."""
- #override
+ # override
def __init__(self, fmt='%(threadName)-4s %(message)s'):
# Can't use super() because in older Python versions logging.Formatter does
# not inherit from object.
logging.Formatter.__init__(self, fmt=fmt)
self._creation_time = time.time()
- #override
+ # override
def format(self, record):
# Can't use super() because in older Python versions logging.Formatter does
# not inherit from object.

Powered by Google App Engine
This is Rietveld 408576698