Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: mozilla/addon-sdk
...
head fork: mozilla/addon-sdk
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
View
3  python-lib/cuddlefish/__init__.py
@@ -669,7 +669,8 @@ def run(arguments=sys.argv[1:], target_cfg=None, pkg_cfg=None,
build = packaging.generate_build_for_target(
pkg_cfg, target, used_deps,
- include_dep_tests=options.dep_tests
+ include_dep_tests=options.dep_tests,
+ is_running_tests=(command == "test")
)
harness_options = {
View
5 python-lib/cuddlefish/packaging.py
@@ -282,6 +282,7 @@ def get_deps_for_targets(pkg_cfg, targets):
def generate_build_for_target(pkg_cfg, target, deps,
include_tests=True,
include_dep_tests=False,
+ is_running_tests=False,
default_loader=DEFAULT_LOADER):
build = Bunch(# Contains section directories for all packages:
@@ -316,6 +317,10 @@ def add_section_to_build(cfg, section, is_code=False,
build.packages[cfg.name][section] = dirname
def add_locale_to_build(cfg):
+ # Bug 730776: Ignore locales for addon-kit, that are only for unit tests
+ if not is_running_tests and cfg.name == "addon-kit":
+ return
+
path = resolve_dir(cfg, cfg['locale'])
files = os.listdir(path)
for filename in files:

No commit comments for this range

Something went wrong with that request. Please try again.