Bug 1242682 - Separate dom/media into its own subsuite. r=armenzg

MozReview-Commit-ID: 55QtAPlIltM

--HG--
extra : rebase_source : c3770e53da3b42bc1b6acfe6d891519d1a258d9e
This commit is contained in:
Joel Maher 2016-02-04 13:35:06 -08:00
Родитель 5c0f1d860f
Коммит f1c675a803
18 изменённых файлов: 118 добавлений и 0 удалений

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

@ -1,5 +1,6 @@
[DEFAULT]
skip-if = buildapp == 'b2g' # b2g( ReferenceError: MediaSource is not defined)
subsuite = media
support-files =
mediasource.js
seek.webm seek.webm^headers^

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

@ -23,6 +23,7 @@
[DEFAULT]
skip-if = buildapp == 'mulet' || (os == 'win' && strictContentSandbox) || android_version == '18' # strictContentSandbox (Bug 1042735)
subsuite = media
support-files =
16bit_wave_extrametadata.wav
16bit_wave_extrametadata.wav^headers^

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

@ -3,6 +3,7 @@
# won't run on b2g desktop tests - bug 1119993
# broken HTTPS on b2g emulator - bug 1135339
skip-if = (os == 'win' && strictContentSandbox) || android_version == '10' || android_version == '18' || (buildapp == 'b2g' && toolkit != 'gonk') || (buildapp == 'b2g' && toolkit == 'gonk') || buildapp == 'mulet'
subsuite = media
support-files =
/.well-known/idp-proxy/idp.js
identityPcTest.js

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

@ -1,5 +1,6 @@
[DEFAULT]
tags=msg
subsuite=media
support-files =
ipc.json

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

@ -1,6 +1,7 @@
[DEFAULT]
# strictContentSandbox - bug 1042735, Android 2.3 - bug 981881
tags = msg webrtc
subsuite = media
skip-if = (os == 'win' && strictContentSandbox) || android_version == '10' || (buildapp == 'mulet') || (toolkit == 'gonk' && debug) # b2g(Either bug 1171118 or bug 1169838, take your pick)
support-files =
head.js

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

@ -1,6 +1,7 @@
[DEFAULT]
tags=msg
tags = webaudio
subsuite = media
skip-if = ((buildapp == 'b2g') && (toolkit != 'gonk' || debug)) || (os == 'win' && strictContentSandbox) #b2g-debug,b2g-desktop(bug 916135); strictContentSandbox(Bug 1042735)
support-files =
audio-expected.wav

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

@ -1,6 +1,7 @@
[DEFAULT]
tags=msg
skip-if = buildapp == 'b2g' # Bug 1191270, bug 1037287, bug 967606, bug 1096400, etc
subsuite = media
support-files =
head.js
hello.ogg

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

@ -1,5 +1,6 @@
[DEFAULT]
tags=msg
subsuite = media
support-files =
common.js
file_bfcache_frame.html

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

@ -100,6 +100,29 @@ config = {
"--subsuite=webgl",
],
},
"mochitest-media": {
"run_filename": "runtestsremote.py",
"testsdir": "mochitest",
"options": [
"--dm_trans=sut",
"--app=%(app)s",
"--remote-webserver=%(remote_webserver)s",
"--xre-path=%(xre_path)s",
"--utility-path=%(utility_path)s",
"--deviceIP=%(device_ip)s",
"--devicePort=%(device_port)s",
"--http-port=%(http_port)s",
"--ssl-port=%(ssl_port)s",
"--certificate-path=%(certs_path)s",
"--symbols-path=%(symbols_path)s",
"--quiet",
"--log-raw=%(raw_log_file)s",
"--log-errorsummary=%(error_summary_file)s",
"--screenshot-on-fail",
"--total-chunks=2",
"--subsuite=media",
],
},
"robocop": {
"run_filename": "runrobocop.py",
"testsdir": "mochitest",

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

@ -102,6 +102,27 @@ config = {
"--subsuite=webgl",
],
},
"mochitest-media": {
"run_filename": "runtestsremote.py",
"testsdir": "mochitest",
"options": [
"--dm_trans=adb",
"--app=%(app)s",
"--remote-webserver=%(remote_webserver)s",
"--xre-path=%(xre_path)s",
"--utility-path=%(utility_path)s",
"--http-port=%(http_port)s",
"--ssl-port=%(ssl_port)s",
"--certificate-path=%(certs_path)s",
"--symbols-path=%(symbols_path)s",
"--quiet",
"--log-raw=%(raw_log_file)s",
"--log-errorsummary=%(error_summary_file)s",
"--screenshot-on-fail",
"--total-chunks=2",
"--subsuite=media",
],
},
"robocop": {
"run_filename": "runrobocop.py",
"testsdir": "mochitest",

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

@ -210,6 +210,7 @@ config = {
"plain": [],
"plain-chunked": ["--chunk-by-dir=4"],
"mochitest-push": ["--subsuite=push"],
"mochitest-media": ["--subsuite=media"],
"chrome": ["--chrome"],
"chrome-chunked": ["--chrome", "--chunk-by-dir=4"],
"browser-chrome": ["--browser-chrome"],

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

@ -159,6 +159,7 @@ config = {
"plain": [],
"plain-chunked": ["--chunk-by-dir=4"],
"mochitest-push": ["--subsuite=push"],
"mochitest-media": ["--subsuite=media"],
"chrome": ["--chrome"],
"chrome-chunked": ["--chrome", "--chunk-by-dir=4"],
"browser-chrome": ["--browser-chrome"],

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

@ -170,6 +170,7 @@ config = {
"plain": [],
"plain-chunked": ["--chunk-by-dir=4"],
"mochitest-push": ["--subsuite=push"],
"mochitest-media": ["--subsuite=media"],
"chrome": ["--chrome"],
"chrome-chunked": ["--chrome", "--chunk-by-dir=4"],
"browser-chrome": ["--browser-chrome"],

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

@ -55,6 +55,8 @@ flags:
mochitest-dt-e10s: /mochitest-devtools-chrome-e10s.*/
mochitest-gl: /mochitest-webgl.*/
mochitest-push: /mochitest-push.*/
mochitest-media: /mochitest-media.*/
mochitest-media-e10s: /mochitest-media-e10s.*/
mochitest-vg: /mochitest-valgrind.*/
reftest: /(plain-)?reftest.*/
reftest-no-accel: /(plain-)?reftest-no-accel.*/
@ -144,6 +146,7 @@ flags:
- mochitest-e10s
- mochitest-jetpack
- mochitest-media
- mochitest-media-e10s
- mochitest-oop
- mochitest-push
- mochitest-webgl

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

@ -278,6 +278,14 @@ tests:
allowed_build_tasks:
tasks/builds/dbg_linux64.yml:
task: tasks/tests/fx_linux64_mochitest_push.yml
mochitest-media:
allowed_build_tasks:
tasks/builds/dbg_linux64.yml:
task: tasks/tests/fx_linux64_mochitest_media.yml
mochitest-media-e10s:
allowed_build_tasks:
tasks/builds/dbg_linux64.yml:
task: tasks/tests/fx_linux64_mochitest_media_e10s.yml
mochitest-webgl:
allowed_build_tasks:
tasks/builds/dbg_linux64.yml:

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

@ -222,6 +222,14 @@ tests:
allowed_build_tasks:
tasks/builds/dbg_linux64_clobber.yml:
task: tasks/tests/fx_linux64_mochitest_push.yml
mochitest-media:
allowed_build_tasks:
tasks/builds/dbg_linux64_clobber.yml:
task: tasks/tests/fx_linux64_mochitest_media.yml
mochitest-media-e10s:
allowed_build_tasks:
tasks/builds/dbg_linux64_clobber.yml:
task: tasks/tests/fx_linux64_mochitest_media_e10s.yml
mochitest-webgl:
allowed_build_tasks:
tasks/builds/dbg_linux64_clobber.yml:

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

@ -0,0 +1,22 @@
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
scopes:
- 'docker-worker:capability:device:loopbackVideo'
- 'docker-worker:capability:device:loopbackAudio'
metadata:
name: '[TC] Linux64 mochitest-media'
description: Mochitest media run
payload:
capabilities:
devices:
loopbackVideo: true
loopbackAudio: true
extra:
suite:
name: mochitest
flavor: mochitest-media
treeherder:
groupName: Desktop mochitests
groupSymbol: tc-M
symbol: mda

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

@ -0,0 +1,22 @@
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
scopes:
- 'docker-worker:capability:device:loopbackVideo'
- 'docker-worker:capability:device:loopbackAudio'
metadata:
name: '[TC] Linux64 mochitest-media-e10s'
description: Mochitest media e10s run
payload:
capabilities:
devices:
loopbackVideo: true
loopbackAudio: true
extra:
suite:
name: mochitest
flavor: mochitest-media-e10s
treeherder:
groupName: Desktop mochitests
groupSymbol: tc-M-e10s
symbol: mda