Bug 1167986 - Disable tests with MOZ_ADDON_SIGNING=0. r=gps, a=ritu
authorPhilipp Kewisch <mozilla@kewis.ch>
Sun, 23 Aug 2015 12:04:40 +0200
changeset 288895 b69b5faa8c1e3dc1b824f0ae8a39c948b438e4bf
parent 288894 fedac27ef5728fc411c354fcfe570cd6e4f75fed
child 288896 266317ce8b1f73ba75deb07763a4961470f6f381
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps, ritu
bugs1167986
milestone42.0a2
Bug 1167986 - Disable tests with MOZ_ADDON_SIGNING=0. r=gps, a=ritu
python/mozbuild/mozbuild/mozinfo.py
toolkit/mozapps/extensions/test/xpcshell/xpcshell-shared.ini
--- a/python/mozbuild/mozbuild/mozinfo.py
+++ b/python/mozbuild/mozbuild/mozinfo.py
@@ -85,16 +85,17 @@ def build_dict(config, env=os.environ):
     d['crashreporter'] = bool(substs.get('MOZ_CRASHREPORTER'))
     d['datareporting'] = bool(substs.get('MOZ_DATA_REPORTING'))
     d['healthreport'] = substs.get('MOZ_SERVICES_HEALTHREPORT') == '1'
     d['asan'] = substs.get('MOZ_ASAN') == '1'
     d['tsan'] = substs.get('MOZ_TSAN') == '1'
     d['telemetry'] = substs.get('MOZ_TELEMETRY_REPORTING') == '1'
     d['tests_enabled'] = substs.get('ENABLE_TESTS') == "1"
     d['bin_suffix'] = substs.get('BIN_SUFFIX', '')
+    d['addon_signing'] = substs.get('MOZ_ADDON_SIGNING') == '1'
 
     d['webm'] = bool(substs.get('MOZ_WEBM'))
     d['wave'] = bool(substs.get('MOZ_WAVE'))
 
     d['official'] = bool(substs.get('MOZILLA_OFFICIAL'))
 
     def guess_platform():
         if d['buildapp'] in ('browser', 'mulet'):
--- a/toolkit/mozapps/extensions/test/xpcshell/xpcshell-shared.ini
+++ b/toolkit/mozapps/extensions/test/xpcshell/xpcshell-shared.ini
@@ -233,22 +233,28 @@ skip-if = buildapp == "mulet"
 skip-if = os == "android"
 [test_pluginBlocklistCtp.js]
 # Bug 676992: test consistently fails on Android
 fail-if = buildapp == "mulet" || os == "android"
 [test_pref_properties.js]
 [test_registry.js]
 [test_safemode.js]
 [test_signed_updatepref.js]
+run-if = addon_signing
 [test_signed_verify.js]
+run-if = addon_signing
 [test_signed_inject.js]
+run-if = addon_signing
 [test_signed_install.js]
+run-if = addon_signing
 run-sequentially = Uses hardcoded ports in xpi files.
 [test_signed_migrate.js]
+run-if = addon_signing
 [test_signed_multi.js]
+run-if = addon_signing
 [test_startup.js]
 # Bug 676992: test consistently fails on Android
 fail-if = os == "android"
 [test_syncGUID.js]
 [test_strictcompatibility.js]
 [test_targetPlatforms.js]
 [test_theme.js]
 # Bug 676992: test consistently fails on Android