Bug 985902 - expose fxaccounts/MOZ_SERVICES_FXACCOUNTS to mozinfo and only run test_hawkclient when enabled. r=ted

This commit is contained in:
Mark Hammond 2014-03-31 14:15:05 +11:00
Родитель cde2db8ab1
Коммит bf9bb90ec8
2 изменённых файлов: 2 добавлений и 0 удалений

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

@ -78,6 +78,7 @@ def build_dict(config, env=os.environ):
d['debug'] = substs.get('MOZ_DEBUG') == '1'
d['crashreporter'] = bool(substs.get('MOZ_CRASHREPORTER'))
d['datareporting'] = bool(substs.get('MOZ_DATA_REPORTING'))
d['fxaccounts'] = substs.get('MOZ_SERVICES_FXACCOUNTS') == '1'
d['healthreport'] = substs.get('MOZ_SERVICES_HEALTHREPORT') == '1'
d['asan'] = substs.get('MOZ_ASAN') == '1'
d['tests_enabled'] = substs.get('ENABLE_TESTS') == "1"

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

@ -27,6 +27,7 @@ firefox-appdir = browser
[test_bagheera_server.js]
[test_bagheera_client.js]
[test_hawkclient.js]
run-if = fxaccounts # This test imports some FxAccounts modules.
[test_hawkrequest.js]
[test_observers.js]
[test_restrequest.js]