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

Unified Diff: build/android/pylib/base/shard.py

Issue 13799010: [Android] Reduce test logging verbosity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « build/android/pylib/android_commands.py ('k') | build/android/pylib/cmd_helper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/base/shard.py
diff --git a/build/android/pylib/base/shard.py b/build/android/pylib/base/shard.py
index c9fc838d1ee837a368253f9f08f08e11e1c53ed1..03c72ef912c5540c8869859fe928caac1ea30895 100644
--- a/build/android/pylib/base/shard.py
+++ b/build/android/pylib/base/shard.py
@@ -143,7 +143,7 @@ def _RunTestsFromQueue(runner, test_collection, out_results, watcher):
pass_results = base_test_result.TestRunResults()
pass_results.AddResults(result.GetPass())
out_results.append(pass_results)
- logging.warning('****Will retry test, try #%s.' % test.tries)
+ logging.warning('Will retry test, try #%s.' % test.tries)
test_collection.add(_Test(test=retry, tries=test.tries))
else:
# All tests passed or retry limit reached. Either way, record results.
@@ -179,12 +179,12 @@ def _SetUp(runner_factory, device, out_runners, threadsafe_counter):
"""
try:
index = threadsafe_counter.GetAndIncrement()
- logging.warning('*****Creating shard %s for device %s.', index, device)
+ logging.warning('Creating shard %s for device %s.', index, device)
runner = runner_factory(device, index)
runner.SetUp()
out_runners.append(runner)
except android_commands.errors.DeviceUnresponsiveError as e:
- logging.warning('****Failed to create shard for %s: [%s]', device, e)
+ logging.warning('Failed to create shard for %s: [%s]', device, e)
def _RunAllTests(runners, tests, timeout=None):
@@ -198,7 +198,7 @@ def _RunAllTests(runners, tests, timeout=None):
Returns:
A TestRunResults object.
"""
- logging.warning('****Running %s tests with %s test runners.' %
+ logging.warning('Running %s tests with %s test runners.' %
(len(tests), len(runners)))
tests_collection = _TestCollection([_Test(t) for t in tests])
results = []
@@ -231,7 +231,7 @@ def _CreateRunners(runner_factory, devices, timeout=None):
Returns:
A list of TestRunner objects.
"""
- logging.warning('****Creating %s test runners.' % len(devices))
+ logging.warning('Creating %s test runners.' % len(devices))
runners = []
counter = _ThreadSafeCounter()
threads = reraiser_thread.ReraiserThreadGroup(
@@ -284,6 +284,6 @@ def ShardAndRunTests(runner_factory, devices, tests, build_type='Debug',
try:
_TearDownRunners(runners, setup_timeout)
except android_commands.errors.DeviceUnresponsiveError as e:
- logging.warning('****Device unresponsive during TearDown: [%s]', e)
+ logging.warning('Device unresponsive during TearDown: [%s]', e)
finally:
forwarder.Forwarder.KillHost(build_type)
« no previous file with comments | « build/android/pylib/android_commands.py ('k') | build/android/pylib/cmd_helper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698