зеркало из https://github.com/mozilla/pjs.git
bug 549427 - tests tarball should be zip files r=ted.mielczarek
This commit is contained in:
Родитель
3058b00e19
Коммит
fadad7b7ff
|
@ -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)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче