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

MozReview-Commit-ID: 55QtAPlIltM
This commit is contained in:
Joel Maher 2016-02-04 13:35:06 -08:00
parent 3712947f1d
commit 2f38dfaafb
18 changed files with 134 additions and 0 deletions

View File

@ -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^

View File

@ -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^

View File

@ -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

View File

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

View File

@ -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

View File

@ -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

View File

@ -1,6 +1,7 @@
[DEFAULT]
tags=msg
skip-if = buildapp == 'b2g' || (e10s && debug && os == 'win') # Bug 1191270, bug 1037287, bug 967606, bug 1096400, bug 1238542 etc
subsuite = media
support-files =
head.js
hello.ogg

View File

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

View File

@ -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",
@ -305,6 +328,14 @@ config = {
"category": "mochitest",
"extra_args": ["--chrome"],
},
"mochitest-media-1": {
"category": "mochitest-media",
"extra_args": ["--this-chunk=1"],
},
"mochitest-media-2": {
"category": "mochitest-media",
"extra_args": ["--this-chunk=2"],
},
"mochitest-gl-1": {
"category": "mochitest-gl",
"extra_args": ["--this-chunk=1"],

View File

@ -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",
@ -445,6 +466,14 @@ config = {
"category": "mochitest",
"extra_args": ["--chrome"],
},
"mochitest-media-1": {
"category": "mochitest-media",
"extra_args": ["--this-chunk=1"],
},
"mochitest-media-2": {
"category": "mochitest-media",
"extra_args": ["--this-chunk=2"],
},
"mochitest-gl-1": {
"category": "mochitest-gl",
"extra_args": ["--this-chunk=1"],

View File

@ -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"],

View File

@ -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"],

View File

@ -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"],

View File

@ -56,6 +56,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.*/
@ -141,6 +143,7 @@ flags:
- mochitest-e10s
- mochitest-jetpack
- mochitest-media
- mochitest-media-e10s
- mochitest-oop
- mochitest-push
- mochitest-webgl

View File

@ -290,6 +290,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:

View File

@ -232,6 +232,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:

View File

@ -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

View File

@ -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