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

Unified Diff: build/android/run_tests.py

Issue 11817033: Move android buildbot steps into buildbot dir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/gtest/gtest_config.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/run_tests.py
diff --git a/build/android/run_tests.py b/build/android/run_tests.py
index c4e183179e90ad19fb6f99ce828f8c2b34c14fb5..9dffca55bec7a9fdfba2fcebf483baa2a98a7ec7 100755
--- a/build/android/run_tests.py
+++ b/build/android/run_tests.py
@@ -46,11 +46,11 @@ import sys
import time
from pylib import android_commands
-from pylib import buildbot_report
from pylib import cmd_helper
from pylib import ports
from pylib.base_test_sharder import BaseTestSharder
from pylib.gtest import debug_info
+from pylib.gtest import gtest_config
from pylib.gtest.single_test_runner import SingleTestRunner
from pylib.utils import emulator
from pylib.utils import run_tests_helper
@@ -59,22 +59,6 @@ from pylib.utils import time_profile
from pylib.utils import xvfb
-_TEST_SUITES = ['base_unittests',
- 'cc_unittests',
- 'content_unittests',
- 'gpu_unittests',
- 'ipc_tests',
- 'media_unittests',
- 'net_unittests',
- 'sql_unittests',
- 'sync_unit_tests',
- 'ui_unittests',
- 'unit_tests',
- 'webkit_compositor_bindings_unittests',
- 'android_webview_unittests',
- ]
-
-
def FullyQualifiedTestSuites(exe, option_test_suite, build_type):
"""Get a list of absolute paths to test suite targets.
@@ -87,7 +71,7 @@ def FullyQualifiedTestSuites(exe, option_test_suite, build_type):
if option_test_suite:
all_test_suites = [option_test_suite]
else:
- all_test_suites = _TEST_SUITES
+ all_test_suites = gtest_config.STABLE_TEST_SUITES
if exe:
qualified_test_suites = [os.path.join(test_suite_dir, t)
@@ -103,7 +87,7 @@ def FullyQualifiedTestSuites(exe, option_test_suite, build_type):
raise Exception('Test suite %s not found in %s.\n'
'Supported test suites:\n %s\n'
'Ensure it has been built.\n' %
- (t, q, _TEST_SUITES))
+ (t, q, gtest_config.STABLE_TEST_SUITES))
return qualified_test_suites
@@ -239,7 +223,6 @@ def _RunATestSuite(options):
0 if successful, number of failing tests otherwise.
"""
step_name = os.path.basename(options.test_suite).replace('-debug.apk', '')
- buildbot_report.PrintNamedStep(step_name)
attached_devices = []
buildbot_emulators = []
@@ -254,7 +237,6 @@ def _RunATestSuite(options):
if not attached_devices:
logging.critical('A device must be attached and online.')
- buildbot_report.PrintError()
return 1
# Reset the test port allocation. It's important to do it before starting
@@ -323,7 +305,7 @@ def Dispatch(options):
def ListTestSuites():
"""Display a list of available test suites."""
print 'Available test suites are:'
- for test_suite in _TEST_SUITES:
+ for test_suite in gtest_config.STABLE_TEST_SUITES:
print test_suite
« no previous file with comments | « build/android/pylib/gtest/gtest_config.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698