Bug 1257708 - Move dom/push/test back into mochitest-plain instead of a separate test suite. r=ahal, a=test-only

This commit is contained in:
Ryan VanderMeulen 2016-03-19 11:02:04 -04:00
parent 3c7b3c8326
commit 275d4a97bc
9 changed files with 2 additions and 39 deletions

View File

@ -1,5 +1,5 @@
[DEFAULT]
subsuite = push
skip-if = os == "android" || toolkit == "gonk"
support-files =
worker.js
frame.html
@ -7,7 +7,6 @@ support-files =
lifetime_worker.js
test_utils.js
mockpushserviceparent.js
skip-if = os == "android" || toolkit == "gonk"
[test_has_permissions.html]
[test_permissions.html]

View File

@ -2276,11 +2276,8 @@ class MochitestDesktop(MochitestBase):
# If there are any Mulet-specific tests doing remote network access,
# we will not be aware since we are explicitely allowing this, as for
# B2G
#
# In addition, the push subsuite directly accesses the production
# push service.
if 'MOZ_DISABLE_NONLOCAL_CONNECTIONS' in self.browserEnv:
if mozinfo.info.get('buildapp') == 'mulet' or options.subsuite == 'push':
if mozinfo.info.get('buildapp') == 'mulet':
del self.browserEnv['MOZ_DISABLE_NONLOCAL_CONNECTIONS']
os.environ["MOZ_DISABLE_NONLOCAL_CONNECTIONS"] = "0"

View File

@ -209,7 +209,6 @@ config = {
"--timeout=900", "--max-timeouts=50"],
"plain": [],
"plain-chunked": ["--chunk-by-dir=4"],
"mochitest-push": ["--subsuite=push"],
"chrome": ["--chrome"],
"chrome-chunked": ["--chrome", "--chunk-by-dir=4"],
"browser-chrome": ["--browser-chrome"],

View File

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

View File

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

View File

@ -56,7 +56,6 @@ flags:
mochitest-dt-e10s: /mochitest-devtools-chrome-e10s.*/
mochitest-gl: /mochitest-webgl.*/
mochitest-jetpack: /mochitest-jetpack.*/
mochitest-push: /mochitest-push.*/
mochitest-vg: /mochitest-valgrind.*/
reftest: /(plain-)?reftest.*/
reftest-no-accel: /(plain-)?reftest-no-accel.*/
@ -143,7 +142,6 @@ flags:
- mochitest-jetpack
- mochitest-media
- mochitest-oop
- mochitest-push
- mochitest-webgl
- mochitest-valgrind
- mozmill

View File

@ -286,10 +286,6 @@ tests:
allowed_build_tasks:
tasks/builds/dbg_linux64.yml:
task: tasks/tests/fx_linux64_mochitest_jetpack.yml
mochitest-push:
allowed_build_tasks:
tasks/builds/dbg_linux64.yml:
task: tasks/tests/fx_linux64_mochitest_push.yml
mochitest-webgl:
allowed_build_tasks:
tasks/builds/dbg_linux64.yml:

View File

@ -228,10 +228,6 @@ tests:
allowed_build_tasks:
tasks/builds/dbg_linux64_clobber.yml:
task: tasks/tests/fx_linux64_mochitest_jetpack.yml
mochitest-push:
allowed_build_tasks:
tasks/builds/dbg_linux64_clobber.yml:
task: tasks/tests/fx_linux64_mochitest_push.yml
mochitest-webgl:
allowed_build_tasks:
tasks/builds/dbg_linux64_clobber.yml:

View File

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