Commit 0178d483 authored by mikecase's avatar mikecase Committed by Commit bot

Made ChromeSyncShellTest.apk run on the fyi-tests bot.

BUG=406538

Review URL: https://codereview.chromium.org/511453003

Cr-Commit-Position: refs/heads/master@{#292238}
parent 4157d2b9
......@@ -53,6 +53,7 @@
'../android_webview/android_webview.gyp:android_webview_apk',
'../android_webview/android_webview_telemetry_shell.gyp:android_webview_telemetry_shell_apk',
'../chrome/chrome.gyp:chrome_shell_apk',
'../chrome/chrome.gyp:chrome_sync_shell_apk',
'../remoting/remoting.gyp:remoting_apk',
'../tools/telemetry/telemetry.gyp:*#host',
# TODO(nyquist) This should instead by a target for sync when all of
......@@ -778,6 +779,7 @@
'../cc/blink/cc_blink_tests.gyp:cc_blink_unittests_apk',
'../cc/cc_tests.gyp:cc_unittests_apk',
'../chrome/chrome.gyp:chrome_shell_test_apk',
'../chrome/chrome.gyp:chrome_sync_shell_test_apk',
'../chrome/chrome.gyp:chrome_shell_uiautomator_tests',
'../chrome/chrome.gyp:unit_tests_apk',
'../components/components_tests.gyp:components_unittests_apk',
......
......@@ -74,7 +74,7 @@ INSTRUMENTATION_TESTS = dict((suite.name, suite) for suite in [
'webview:android_webview/test/data/device_files'),
])
VALID_TESTS = set(['chromedriver', 'chrome_proxy', 'gpu', 'mojo',
VALID_TESTS = set(['chromedriver', 'chrome_proxy', 'gpu', 'mojo', 'sync',
'telemetry_perf_unittests', 'ui', 'unit', 'webkit',
'webkit_layout', 'webrtc_chromium', 'webrtc_native'])
......@@ -180,6 +180,15 @@ def RunChromeProxyTests(options):
bb_annotations.PrintNamedStep('chrome_proxy')
RunCmd(['tools/chrome_proxy/run_tests'] + args)
def RunChromeSyncShellTests(options):
"""Run the chrome sync shell tests"""
test = I('ChromeSyncShell',
'ChromeSyncShell.apk',
'org.chromium.chrome.browser.sync',
'ChromeSyncShellTest.apk',
'chrome:chrome/test/data/android/device_files')
RunInstrumentationSuite(options, test)
def RunTelemetryPerfUnitTests(options):
"""Runs the telemetry perf unit tests.
......@@ -538,9 +547,10 @@ def GetTestStepCmds():
('chrome_proxy', RunChromeProxyTests),
('gpu', RunGPUTests),
('mojo', RunMojoTests),
('sync', RunChromeSyncShellTests),
('telemetry_perf_unittests', RunTelemetryPerfUnitTests),
('unit', RunUnitTests),
('ui', RunInstrumentationTests),
('unit', RunUnitTests),
('webkit', RunWebkitTests),
('webkit_layout', RunWebkitLayoutTests),
('webrtc_chromium', RunWebRTCChromiumTests),
......
......@@ -116,6 +116,7 @@ def GetCommands(options, bot_config):
def GetBotStepMap():
compile_step = ['compile']
chrome_proxy_tests = ['chrome_proxy']
chrome_sync_shell_tests = ['sync']
std_host_tests = ['check_webview_licenses', 'findbugs']
std_build_steps = ['compile', 'zip_build']
std_test_steps = ['extract_build']
......@@ -165,7 +166,8 @@ def GetBotStepMap():
H(compile_step + std_host_tests, target_arch='x86')),
B('fyi-builder-rel', H(std_build_steps, experimental)),
B('fyi-tests', H(std_test_steps),
T(std_tests, ['--experimental', flakiness_server,
T(std_tests + chrome_sync_shell_tests,
['--experimental', flakiness_server,
'--coverage-bucket', CHROMIUM_COVERAGE_BUCKET,
'--cleanup'])),
B('fyi-component-builder-tests-dbg',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment