Make it possible to run low_bandwidth_audio_test on Android swarming.
R=phoglund@webrtc.org, solenberg@webrtc.org Bug: chromium:755660 Change-Id: I8755a9c9df92fe8157c870cc7519130291441b25 Reviewed-on: https://webrtc-review.googlesource.com/39780 Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Commit-Queue: Edward Lemur <ehmaldonado@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21634}
This commit is contained in:
@ -171,7 +171,7 @@ if (rtc_include_tests) {
|
||||
"../resources/voice_engine/audio_tiny48.wav",
|
||||
"test/low_bandwidth_audio_test.py",
|
||||
]
|
||||
if (is_linux) {
|
||||
if (is_linux || is_android) {
|
||||
data += [
|
||||
"../tools_webrtc/audio_quality/linux/PolqaOem64",
|
||||
"../tools_webrtc/audio_quality/linux/pesq",
|
||||
|
||||
@ -1050,14 +1050,14 @@ class MetaBuildWrapper(object):
|
||||
cmdline = []
|
||||
extra_files = []
|
||||
|
||||
if android:
|
||||
if test_type == 'script':
|
||||
cmdline = ['../../' + self.ToSrcRelPath(isolate_map[target]['script'])]
|
||||
elif android:
|
||||
cmdline = ['../../build/android/test_wrapper/logdog_wrapper.py',
|
||||
'--target', target,
|
||||
'--logdog-bin-cmd', '../../bin/logdog_butler',
|
||||
'--logcat-output-file', '${ISOLATED_OUTDIR}/logcats',
|
||||
'--store-tombstones']
|
||||
elif test_type == "script":
|
||||
cmdline = ['../../' + self.ToSrcRelPath(isolate_map[target]['script'])]
|
||||
else:
|
||||
extra_files = ['../../testing/test_env.py']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user