summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorklundberg <klundberg@chromium.org>2014-11-19 08:53:11 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-19 16:53:53 +0000
commitb07e8ed92caa9f977b2fe51ff9df4002ea02a02f (patch)
treea08ed62e63ddfe598891ea068e9b57b86e82de5d /build
parent0b0eb575524029e55a6444af3cc05049173ffca4 (diff)
downloadchromium_src-b07e8ed92caa9f977b2fe51ff9df4002ea02a02f.zip
chromium_src-b07e8ed92caa9f977b2fe51ff9df4002ea02a02f.tar.gz
chromium_src-b07e8ed92caa9f977b2fe51ff9df4002ea02a02f.tar.bz2
Fix new user build bot for telemetry tests on Chromium FYI.
Turns out the telemetry_unittests weren't properly set up. This should do the trick. BUG=384341 Review URL: https://codereview.chromium.org/733313002 Cr-Commit-Position: refs/heads/master@{#304827}
Diffstat (limited to 'build')
-rwxr-xr-xbuild/android/buildbot/bb_device_steps.py10
-rw-r--r--build/android/pylib/gtest/gtest_config.py4
2 files changed, 12 insertions, 2 deletions
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py
index 5809692..5d01813 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -81,8 +81,8 @@ INSTRUMENTATION_TESTS = dict((suite.name, suite) for suite in [
])
VALID_TESTS = set(['chromedriver', 'chrome_proxy', 'gpu',
- 'telemetry_perf_unittests', 'ui', 'unit', 'webkit',
- 'webkit_layout', 'python_unittests'])
+ 'telemetry_unittests', 'telemetry_perf_unittests', 'ui',
+ 'unit', 'webkit', 'webkit_layout', 'python_unittests'])
RunCmd = bb_utils.RunCmd
@@ -472,6 +472,11 @@ def RunUnitTests(options):
RunTestSuites(options, suites)
+def RunTelemetryUnitTests(options):
+ suites = gtest_config.TELEMETRY_EXPERIMENTAL_TEST_SUITES
+ RunTestSuites(options, suites)
+
+
def RunInstrumentationTests(options):
for test in INSTRUMENTATION_TESTS.itervalues():
RunInstrumentationSuite(options, test)
@@ -529,6 +534,7 @@ def GetTestStepCmds():
('chrome_proxy', RunChromeProxyTests),
('gpu', RunGPUTests),
('python_unittests', RunPythonUnitTests),
+ ('telemetry_unittests', RunTelemetryUnitTests),
('telemetry_perf_unittests', RunTelemetryPerfUnitTests),
('ui', RunInstrumentationTests),
('unit', RunUnitTests),
diff --git a/build/android/pylib/gtest/gtest_config.py b/build/android/pylib/gtest/gtest_config.py
index e671e0a..0cb8b35 100644
--- a/build/android/pylib/gtest/gtest_config.py
+++ b/build/android/pylib/gtest/gtest_config.py
@@ -11,6 +11,10 @@ EXPERIMENTAL_TEST_SUITES = [
'devtools_bridge_tests',
]
+TELEMETRY_EXPERIMENTAL_TEST_SUITES = [
+ 'telemetry_unittests',
+]
+
# Do not modify this list without approval of an android owner.
# This list determines which suites are run by default, both for local
# testing and on android trybots running on commit-queue.