summaryrefslogtreecommitdiffstats
path: root/build/android/run_tests.py
diff options
context:
space:
mode:
authorfrankf@google.com <frankf@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-29 23:46:21 +0000
committerfrankf@google.com <frankf@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-29 23:46:21 +0000
commit118cfe57fe9e79b863f53be8500229adaf329334 (patch)
tree4a7f3faf3a61def030e9aca1bdb39adff0138d13 /build/android/run_tests.py
parent2972876692c7a645670a844aeff7427643e95ef5 (diff)
downloadchromium_src-118cfe57fe9e79b863f53be8500229adaf329334.zip
chromium_src-118cfe57fe9e79b863f53be8500229adaf329334.tar.gz
chromium_src-118cfe57fe9e79b863f53be8500229adaf329334.tar.bz2
Add a test runner/sharder for Monkey stress tests.
BUG=145039 Review URL: https://chromiumcodereview.appspot.com/10894021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154006 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/run_tests.py')
-rwxr-xr-xbuild/android/run_tests.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/build/android/run_tests.py b/build/android/run_tests.py
index ccd2230..afb5f0e 100755
--- a/build/android/run_tests.py
+++ b/build/android/run_tests.py
@@ -184,15 +184,6 @@ class Xvfb(object):
self._pid = 0
-def PrintAnnotationForTestResults(test_results):
- if test_results.timed_out:
- buildbot_report.PrintWarning()
- elif test_results.failed or test_results.crashed or test_results.overall_fail:
- buildbot_report.PrintError()
- else:
- print 'Step success!' # No annotation needed
-
-
class TestSharder(BaseTestSharder):
"""Responsible for sharding the tests on the connected devices."""
@@ -258,7 +249,7 @@ class TestSharder(BaseTestSharder):
"""Notifies that we completed the tests."""
test_results.LogFull('Unit test', os.path.basename(self.test_suite),
self.build_type)
- PrintAnnotationForTestResults(test_results)
+ test_results.PrintAnnotation()
if test_results.failed and self.rebaseline:
test_runners[0].UpdateFilter(test_results.failed)
if self.log_dump_name: