Bug 1224689 - Add a 'sync' mozinfo variable and only run test_remotetabmatches.js if it is defined. r=ted

--HG--
extra : rebase_source : 05d28e12a73a2fe0f0746a5ae13e3268a0821ced
This commit is contained in:
Mark Hammond 2015-11-15 15:21:00 +01:00
Родитель bbcedca36e
Коммит 301563017d
2 изменённых файлов: 2 добавлений и 0 удалений

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

@ -85,6 +85,7 @@ def build_dict(config, env=os.environ):
d['crashreporter'] = bool(substs.get('MOZ_CRASHREPORTER')) d['crashreporter'] = bool(substs.get('MOZ_CRASHREPORTER'))
d['datareporting'] = bool(substs.get('MOZ_DATA_REPORTING')) d['datareporting'] = bool(substs.get('MOZ_DATA_REPORTING'))
d['healthreport'] = substs.get('MOZ_SERVICES_HEALTHREPORT') == '1' d['healthreport'] = substs.get('MOZ_SERVICES_HEALTHREPORT') == '1'
d['sync'] = substs.get('MOZ_SERVICES_SYNC') == '1'
d['asan'] = substs.get('MOZ_ASAN') == '1' d['asan'] = substs.get('MOZ_ASAN') == '1'
d['tsan'] = substs.get('MOZ_TSAN') == '1' d['tsan'] = substs.get('MOZ_TSAN') == '1'
d['telemetry'] = substs.get('MOZ_TELEMETRY_REPORTING') == '1' d['telemetry'] = substs.get('MOZ_TELEMETRY_REPORTING') == '1'

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

@ -31,6 +31,7 @@ support-files =
[test_multi_word_search.js] [test_multi_word_search.js]
[test_queryurl.js] [test_queryurl.js]
[test_remotetabmatches.js] [test_remotetabmatches.js]
skip-if = !sync
[test_searchEngine_alias.js] [test_searchEngine_alias.js]
[test_searchEngine_current.js] [test_searchEngine_current.js]
[test_searchEngine_host.js] [test_searchEngine_host.js]