mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1252868 - Do not install superfluous addons for Android tests; r=jmaher
This commit is contained in:
parent
30f8bb9b53
commit
c590774b39
@ -231,7 +231,7 @@ class RobocopTestRunner(MochitestDesktop):
|
||||
self.log.debug("Profile created at %s" % self.localProfile)
|
||||
# some files are not needed for robocop; save time by not pushing
|
||||
shutil.rmtree(os.path.join(self.localProfile, 'webapps'))
|
||||
desktop_extensions = ['mochikit@mozilla.org', 'worker-test@mozilla.org', 'workerbootstrap-test@mozilla.org']
|
||||
desktop_extensions = ['mochikit@mozilla.org', 'worker-test@mozilla.org', 'workerbootstrap-test@mozilla.org', 'indexedDB-test@mozilla.org']
|
||||
for ext in desktop_extensions:
|
||||
shutil.rmtree(os.path.join(self.localProfile, 'extensions', 'staged', ext))
|
||||
os.remove(os.path.join(self.localProfile, 'userChrome.css'))
|
||||
|
@ -311,6 +311,10 @@ def run_test_harness(options):
|
||||
raise ValueError("Invalid options specified, use --help for a list of valid options")
|
||||
|
||||
options.runByDir = False
|
||||
# roboextender is used by mochitest-chrome tests like test_java_addons.html,
|
||||
# but not by any plain mochitests
|
||||
if not options.chrome:
|
||||
options.extensionsToExclude.append('roboextender@mozilla.org')
|
||||
|
||||
dm = options.dm
|
||||
auto.setDeviceManager(dm)
|
||||
|
Loading…
Reference in New Issue
Block a user