Bug 1377876 - Disable 'test_crash.py' when running on linux64-ccov. r=whimboo

This patch adds a flag to the 'mozinfo.json' that can be used to disable tests when they are running on linux64-ccov. Then, this flag is used to prevent the marionnette test 'test_crash.py' from running on linux64-ccov.

MozReview-Commit-ID: 9IHMiZHxcMK

--HG--
extra : rebase_source : ec690cb3ffa27d3e88d2c0b8c5d510e72a5c5079
This commit is contained in:
Greg Mierzwinski 2017-06-30 16:30:59 -04:00
Родитель b8d453544f
Коммит 3daf739be1
3 изменённых файлов: 3 добавлений и 2 удалений

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

@ -95,6 +95,7 @@ def build_dict(config, env=os.environ):
d['official'] = bool(substs.get('MOZILLA_OFFICIAL'))
d['updater'] = substs.get('MOZ_UPDATER') == '1'
d['artifact'] = substs.get('MOZ_ARTIFACT_BUILDS') == '1'
d['coverage'] = substs.get('MOZ_CODE_COVERAGE') == '1'
def guess_platform():
if d['buildapp'] in ('browser', 'mulet'):

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

@ -1,6 +1,6 @@
# marionette unit tests
[include:unit/unit-tests.ini]
skip-if = asan # Bug 1223277, 1348961
skip-if = asan # Bug 1223277, 1348961
# layout tests
[include:../../../../../layout/base/tests/marionette/manifest.ini]

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

@ -120,5 +120,5 @@ skip-if = appname == 'fennec' # Bug 1330598
[test_select.py]
[test_crash.py]
skip-if = manage_instance == false || appname == 'fennec' # Bug 1298921 and bug 1322993
skip-if = manage_instance == false || appname == 'fennec' || coverage # Bug 1298921, bug 1322993, and bug 1377876
[test_localization.py]