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
parent d2d06f28f8
commit b27f3714b9
2 changed files with 2 additions and 0 deletions

View File

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

View File

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