Bug 869687 - Uplift Add-on SDK integration branch to Firefox

This commit is contained in:
Wes Kocher
2013-05-07 19:30:52 -07:00
parent e813ca1d52
commit 046b92a918
30 changed files with 540 additions and 133 deletions

View File

@@ -30,7 +30,7 @@ PARSEABLE_TEST_NAME = re.compile(r'TEST-START \| ([^\n]+)\n')
# The purpose of this timeout is to recover from infinite loops. It should be
# longer than the amount of time any test run takes, including those on slow
# machines running slow (debug) versions of Firefox.
RUN_TIMEOUT = 30 * 60 # 30 minutes
RUN_TIMEOUT = 45 * 60 # 45 minutes
# Maximum time we'll wait for tests to emit output, in seconds.
# The purpose of this timeout is to recover from hangs. It should be longer
@@ -412,7 +412,8 @@ def run_app(harness_root_dir, manifest_rdf, harness_options,
env_root=None,
is_running_tests=False,
overload_modules=False,
bundle_sdk=True):
bundle_sdk=True,
pkgdir=""):
if binary:
binary = os.path.expanduser(binary)
@@ -516,7 +517,8 @@ def run_app(harness_root_dir, manifest_rdf, harness_options,
xpi_path=xpi_path,
harness_options=harness_options,
limit_to=used_files,
bundle_sdk=bundle_sdk)
bundle_sdk=bundle_sdk,
pkgdir=pkgdir)
addons.append(xpi_path)
starttime = last_output_time = time.time()