bug 549427 - tests tarball should be zip files r=ted.mielczarek

This commit is contained in:
John Ford 2010-03-10 18:01:00 -05:00
parent 8f38c0f6dc
commit 7c55fb74aa
2 changed files with 4 additions and 2 deletions

View File

@ -131,7 +131,9 @@ endif
package-tests:
$(NSINSTALL) -D $(DIST)/$(PKG_PATH)
@(cd $(PKG_STAGE) && tar $(TAR_CREATE_FLAGS) - *) | bzip2 -f > "$(DIST)/$(PKG_PATH)$(TEST_PACKAGE)"
@rm -f "$(DIST)/$(PKG_PATH)$(TEST_PACKAGE)"
cd $(PKG_STAGE) && \
zip -r9D "../$(PKG_PATH)$(TEST_PACKAGE)" *
make-stage-dir:
rm -rf $(PKG_STAGE) && $(NSINSTALL) -D $(PKG_STAGE) && $(NSINSTALL) -D $(PKG_STAGE)/bin && $(NSINSTALL) -D $(PKG_STAGE)/bin/components && $(NSINSTALL) -D $(PKG_STAGE)/certs

View File

@ -168,7 +168,7 @@ endif # MOZ_PKG_PRETTYNAMES
SYMBOL_ARCHIVE_BASENAME = $(PKG_BASENAME).crashreporter-symbols
# Test package naming
TEST_PACKAGE = $(PKG_BASENAME).tests.tar.bz2
TEST_PACKAGE = $(PKG_BASENAME).tests.zip
ifneq (,$(wildcard $(DIST)/bin/application.ini))
BUILDID = $(shell $(PYTHON) $(MOZILLA_DIR)/config/printconfigsetting.py $(DIST)/bin/application.ini App BuildID)