Bug 1249733 - Sign talos harness and test extensions, r=jmaher

The various harness addons and test related addons used by talos all need
to be signed before we can enforce addon signing. For now, signing will be
a manual process. See the following guide for more details:
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: CKeOyuN4JJG

--HG--
extra : rebase_source : 8e2fd3c8979db49da657c7ed1f1abcd43befdd3c
This commit is contained in:
Andrew Halberstadt 2016-02-19 16:19:03 -05:00
parent 5b55c16a8a
commit bf172d4236
16 changed files with 21 additions and 20 deletions

View File

@ -86,7 +86,8 @@ def create_parser(mach_interface=False):
add_arg('--spsProfileEntries', dest="sps_profile_entries", type=int,
help="How many samples to take with the profiler")
add_arg('--extension', dest='extensions', action='append',
default=['${talos}/talos-powers', '${talos}/pageloader'],
default=['${talos}/talos-powers/talos-powers-signed.xpi',
'${talos}/pageloader/pageloader-signed.xpi'],
help="Extension to install while running")
add_arg('--fast', action='store_true',
help="Run tp tests as tp_fast")

View File

@ -84,7 +84,6 @@ DEFAULTS = dict(
'extensions.checkCompatibility': False,
'extensions.enabledScopes': 5,
'extensions.update.notifyUser': False,
'xpinstall.signatures.required': False,
'hangmonitor.timeout': 0,
'network.proxy.http': 'localhost',
'network.proxy.http_port': 80,

View File

@ -4,12 +4,12 @@
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>pageloader@mozilla.org</em:id>
<em:version>1.0</em:version>
<em:version>1.0.2</em:version>
<em:targetApplication>
<Description>
<em:id>toolkit@mozilla.org</em:id>
<em:minVersion>2.0b3pre</em:minVersion>
<em:maxVersion>*</em:maxVersion>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>44.0</em:minVersion>
<em:maxVersion>*</em:maxVersion>
</Description>
</em:targetApplication>
<!-- Front End MetaData -->

Binary file not shown.

View File

@ -9,7 +9,7 @@
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>99.0.*</em:maxVersion>
<em:maxVersion>*</em:maxVersion>
</Description>
</em:targetApplication>

View File

@ -4,12 +4,12 @@
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>talos-powers@mozilla.org</em:id>
<em:version>1.0</em:version>
<em:version>1.0.3</em:version>
<em:targetApplication>
<Description>
<em:id>toolkit@mozilla.org</em:id>
<em:minVersion>2.0b3pre</em:minVersion>
<em:maxVersion>*</em:maxVersion>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>44.0</em:minVersion>
<em:maxVersion>*</em:maxVersion>
</Description>
</em:targetApplication>
<!-- Front End MetaData -->

View File

@ -150,7 +150,8 @@ class sessionrestore(TsBase):
2. Launch Firefox.
3. Measure the delta between firstPaint and sessionRestored.
"""
extensions = '${talos}/startup_test/sessionrestore/addon'
extensions = \
'${talos}/startup_test/sessionrestore/addon/sessionrestore-signed.xpi'
cycles = 10
timeout = 1000000
sps_profile_startup = True
@ -200,7 +201,7 @@ class tresize(TsBase):
"""
This test does some resize thing.
"""
extensions = '${talos}/startup_test/tresize/addon'
extensions = '${talos}/startup_test/tresize/addon/tresize-signed.xpi'
cycles = 20
url = 'startup_test/tresize/addon/content/tresize-test.html'
timeout = 150
@ -242,7 +243,7 @@ class tps(PageloaderTest):
"""
Tests the amount of time it takes to switch between tabs
"""
extensions = '${talos}/tests/tabswitch'
extensions = '${talos}/tests/tabswitch/tabswitch-signed.xpi'
tpmanifest = '${talos}/tests/tabswitch/tps.manifest'
tppagecycles = 5
sps_profile_entries = 1000000
@ -284,7 +285,7 @@ class tart(PageloaderTest):
- all: average interval over all recorded intervals.
"""
tpmanifest = '${talos}/tests/tart/tart.manifest'
extensions = '${talos}/tests/tart/addon'
extensions = '${talos}/tests/tart/addon/tart-signed.xpi'
tpcycles = 1
tppagecycles = 25
tploadnocache = True
@ -321,7 +322,7 @@ class cart(PageloaderTest):
3-customize-enter-css - only the CSS animation part of entering customize
"""
tpmanifest = '${talos}/tests/tart/cart.manifest'
extensions = '${talos}/tests/tart/addon'
extensions = '${talos}/tests/tart/addon/tart-signed.xpi'
tpcycles = 1
tppagecycles = 25
tploadnocache = True
@ -347,7 +348,7 @@ class damp(PageloaderTest):
for each tool, across a very simple and very complicated page.
"""
tpmanifest = '${talos}/tests/devtools/damp.manifest'
extensions = '${talos}/tests/devtools/addon'
extensions = '${talos}/tests/devtools/addon/devtools-signed.xpi'
tpcycles = 1
tppagecycles = 25
tploadnocache = True

View File

@ -9,7 +9,7 @@
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>99.0.*</em:maxVersion>
<em:maxVersion>*</em:maxVersion>
</Description>
</em:targetApplication>

View File

@ -15,7 +15,7 @@
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>38.0</em:minVersion>
<em:maxVersion>99.0.*</em:maxVersion>
<em:maxVersion>*</em:maxVersion>
</Description>
</em:targetApplication>
</Description>

View File

@ -9,7 +9,7 @@
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>99.0.*</em:maxVersion>
<em:maxVersion>*</em:maxVersion>
</Description>
</em:targetApplication>

Binary file not shown.