Build support for WebRTC Chromium tests on Android.

In addition to the native APK tests for WebRTC, we
want to build and test the content_browsertests test
for each revision of WebRTC in our Chromium WebRTC FYI
waterfall.
This CL adds the needed configurations for that, that are used
by the buildbots in: https://codereview.chromium.org/26702005/

NOTRY=True
TEST=presubmit
BUG=305749

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229758 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
kjellander@chromium.org 2013-10-21 08:18:29 +00:00
Родитель d4531eca7b
Коммит dbaa3f9c8d
3 изменённых файлов: 23 добавлений и 8 удалений

Просмотреть файл

@ -73,7 +73,7 @@ INSTRUMENTATION_TESTS = dict((suite.name, suite) for suite in [
])
VALID_TESTS = set(['chromedriver', 'gpu', 'ui', 'unit', 'webkit',
'webkit_layout', 'webrtc'])
'webkit_layout', 'webrtc_chromium', 'webrtc_native'])
RunCmd = bb_utils.RunCmd
@ -425,8 +425,12 @@ def RunWebkitTests(options):
RunWebkitLint(options.target)
def RunWebRTCTests(options):
RunTestSuites(options, gtest_config.WEBRTC_TEST_SUITES)
def RunWebRTCChromiumTests(options):
RunTestSuites(options, gtest_config.WEBRTC_CHROMIUM_TEST_SUITES)
def RunWebRTCNativeTests(options):
RunTestSuites(options, gtest_config.WEBRTC_NATIVE_TEST_SUITES)
def RunGPUTests(options):
@ -454,7 +458,8 @@ def GetTestStepCmds():
('ui', RunInstrumentationTests),
('webkit', RunWebkitTests),
('webkit_layout', RunWebkitLayoutTests),
('webrtc', RunWebRTCTests),
('webrtc_chromium', RunWebRTCChromiumTests),
('webrtc_native', RunWebRTCNativeTests),
]

Просмотреть файл

@ -169,12 +169,18 @@ def GetBotStepMap():
B('webkit-latest-contentshell', H(compile_step),
T(['webkit_layout'], ['--auto-reconnect'])),
B('builder-unit-tests', H(compile_step), T(['unit'])),
B('webrtc-builder',
B('webrtc-chromium-builder',
H(std_build_steps,
extra_args=['--build-targets=content_browsertests_apk'])),
B('webrtc-native-builder',
H(std_build_steps,
extra_args=['--build-targets=android_builder_webrtc'],
extra_gyp='include_tests=1 enable_tracing=1')),
B('webrtc-tests', H(['download_webrtc_resources'] + std_test_steps),
T(['webrtc'], [flakiness_server])),
B('webrtc-chromium-tests', H(std_test_steps),
T(['webrtc_chromium'], [flakiness_server])),
B('webrtc-native-tests',
H(['download_webrtc_resources'] + std_test_steps),
T(['webrtc_native'], [flakiness_server])),
# Generic builder config (for substring match).
B('builder', H(std_build_steps)),

Просмотреть файл

@ -33,7 +33,11 @@ STABLE_TEST_SUITES = [
'sandbox_linux_unittests',
]
WEBRTC_TEST_SUITES = [
WEBRTC_CHROMIUM_TEST_SUITES = [
'content_browsertests',
]
WEBRTC_NATIVE_TEST_SUITES = [
'audio_decoder_unittests',
'common_audio_unittests',
'common_video_unittests',