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
Родитель 3058b00e19
Коммит fadad7b7ff
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -131,7 +131,9 @@ endif
package-tests: package-tests:
$(NSINSTALL) -D $(DIST)/$(PKG_PATH) $(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: 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 rm -rf $(PKG_STAGE) && $(NSINSTALL) -D $(PKG_STAGE) && $(NSINSTALL) -D $(PKG_STAGE)/bin && $(NSINSTALL) -D $(PKG_STAGE)/bin/components && $(NSINSTALL) -D $(PKG_STAGE)/certs

Просмотреть файл

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