Add WebRTC test configurations for Android testing.

BUG=webrtc:1882
TEST=From a recent WebRTC checkout:
source build/android/envsetup.sh
gclient runhooks
ninja -C out/Debug
build/android/run_test.py -s webrtc

I also successful ran builder and tester with the buildbot
configuration in https://codereview.chromium.org/17390019
using a locally patched checkout.

Review URL: https://chromiumcodereview.appspot.com/17466002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@216920 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
kjellander@chromium.org 2013-08-12 05:00:52 +00:00
Родитель c2d3f9b509
Коммит b452774040
3 изменённых файлов: 25 добавлений и 2 удалений

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

@ -64,7 +64,8 @@ INSTRUMENTATION_TESTS = dict((suite.name, suite) for suite in [
'webview:android_webview/test/data/device_files'),
])
VALID_TESTS = set(['chromedriver', 'ui', 'unit', 'webkit', 'webkit_layout'])
VALID_TESTS = set(['chromedriver', 'ui', 'unit', 'webkit', 'webkit_layout',
'webrtc'])
RunCmd = bb_utils.RunCmd
@ -277,13 +278,18 @@ def RunWebkitTests(options):
RunWebkitLint(options.target)
def RunWebRTCTests(options):
RunTestSuites(options, gtest_config.WEBRTC_TEST_SUITES)
def GetTestStepCmds():
return [
('chromedriver', RunChromeDriverTests),
('unit', RunUnitTests),
('ui', RunInstrumentationTests),
('webkit', RunWebkitTests),
('webkit_layout', RunWebkitLayoutTests)
('webkit_layout', RunWebkitLayoutTests),
('webrtc', RunWebRTCTests),
]

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

@ -161,6 +161,7 @@ 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-tests', H(std_test_steps), T(['webrtc'], [flakiness_server])),
# Generic builder config (for substring match).
B('builder', H(std_build_steps)),
@ -179,6 +180,7 @@ def GetBotStepMap():
('try-tests', 'main-tests'),
('try-fyi-tests', 'fyi-tests'),
('webkit-latest-tests', 'main-tests'),
('webrtc-builder', 'main-builder-rel'),
]
for to_id, from_id in copy_map:
assert to_id not in bot_map

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

@ -31,3 +31,18 @@ STABLE_TEST_SUITES = [
'sandbox_linux_unittests',
'content_browsertests',
]
WEBRTC_TEST_SUITES = [
'audio_decoder_unittests',
'common_audio_unittests',
'common_video_unittests',
'metrics_unittests',
'modules_integrationtests',
'modules_unittests',
'neteq_unittests',
'system_wrappers_unittests',
'test_support_unittests',
'tools_unittests',
'video_engine_core_unittests',
'voice_engine_unittests',
]