mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1201224 - stop unifying test package during mac universal builds. r=gps
This commit is contained in:
parent
6649fdb686
commit
42b3656093
@ -29,29 +29,3 @@ postflight_all:
|
||||
# actually does a universal staging with both OBJDIR_ARCH_1 and OBJDIR_ARCH_2.
|
||||
$(MAKE) -C $(OBJDIR_ARCH_1)/$(MOZ_BUILD_APP)/installer \
|
||||
PKG_SKIP_STRIP=1 stage-package
|
||||
ifdef ENABLE_TESTS
|
||||
# Now, repeat the process for the test package.
|
||||
$(MAKE) -C $(OBJDIR_ARCH_1) UNIVERSAL_BINARY= CHROME_JAR= package-tests
|
||||
$(MAKE) -C $(OBJDIR_ARCH_2) UNIVERSAL_BINARY= CHROME_JAR= package-tests
|
||||
rm -rf $(DIST_UNI)/test-stage
|
||||
# automation.py differs because it hardcodes a path to
|
||||
# dist/bin. It doesn't matter which one we use.
|
||||
if test -d $(DIST_ARCH_1)/test-stage -a \
|
||||
-d $(DIST_ARCH_2)/test-stage; then \
|
||||
cp $(DIST_ARCH_1)/test-stage/mochitest/automation.py \
|
||||
$(DIST_ARCH_2)/test-stage/mochitest/; \
|
||||
cp -RL $(DIST_ARCH_1)/test-stage/mochitest/extensions/specialpowers \
|
||||
$(DIST_ARCH_2)/test-stage/mochitest/extensions/; \
|
||||
cp $(DIST_ARCH_1)/test-stage/xpcshell/automation.py \
|
||||
$(DIST_ARCH_2)/test-stage/xpcshell/; \
|
||||
cp $(DIST_ARCH_1)/test-stage/reftest/automation.py \
|
||||
$(DIST_ARCH_2)/test-stage/reftest/; \
|
||||
cp -RL $(DIST_ARCH_1)/test-stage/reftest/specialpowers \
|
||||
$(DIST_ARCH_2)/test-stage/reftest/; \
|
||||
$(TOPSRCDIR)/build/macosx/universal/unify \
|
||||
--unify-with-sort "\.manifest$$" \
|
||||
--unify-with-sort "all-test-dirs\.list$$" \
|
||||
$(DIST_ARCH_1)/test-stage \
|
||||
$(DIST_ARCH_2)/test-stage \
|
||||
$(DIST_UNI)/test-stage; fi
|
||||
endif
|
||||
|
@ -6,6 +6,6 @@
|
||||
|
||||
# As used here, arguments in $MOZ_BUILD_PROJECTS are suitable as arguments
|
||||
# to gcc's -arch parameter.
|
||||
mk_add_options MOZ_BUILD_PROJECTS="i386 x86_64"
|
||||
mk_add_options MOZ_BUILD_PROJECTS="x86_64 i386"
|
||||
|
||||
. $topsrcdir/build/macosx/universal/mozconfig.common
|
||||
|
@ -32,7 +32,7 @@ config = {
|
||||
'purge_basedirs': [],
|
||||
'enable_ccache': True,
|
||||
'vcs_share_base': '/builds/hg-shared',
|
||||
'objdir': 'obj-firefox/i386',
|
||||
'objdir': 'obj-firefox/x86_64',
|
||||
'tooltool_script': ["/builds/tooltool.py"],
|
||||
'tooltool_bootstrap': "setup.sh",
|
||||
'enable_count_ctors': False,
|
||||
|
@ -369,8 +369,8 @@ pgo-profile-run:
|
||||
# Package up the tests and test harnesses
|
||||
include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
|
||||
|
||||
ifndef UNIVERSAL_BINARY
|
||||
PKG_STAGE = $(DIST)/test-stage
|
||||
|
||||
package-tests: \
|
||||
stage-config \
|
||||
stage-mach \
|
||||
@ -393,10 +393,6 @@ package-tests: \
|
||||
ifdef MOZ_WEBRTC
|
||||
package-tests: stage-steeplechase
|
||||
endif
|
||||
else
|
||||
# This staging area has been built for us by universal/flight.mk
|
||||
PKG_STAGE = $(DIST)/universal/test-stage
|
||||
endif
|
||||
|
||||
TEST_PKGS := \
|
||||
cppunittest \
|
||||
@ -410,9 +406,7 @@ PKG_ARG = --$(1) '$(PKG_BASENAME).$(1).tests.zip'
|
||||
|
||||
test-packages-manifest-tc:
|
||||
@rm -f $(MOZ_TEST_PACKAGES_FILE_TC)
|
||||
ifndef UNIVERSAL_BINARY
|
||||
$(NSINSTALL) -D $(dir $(MOZ_TEST_PACKAGES_FILE_TC))
|
||||
endif
|
||||
$(PYTHON) $(topsrcdir)/build/gen_test_packages_manifest.py \
|
||||
--jsshell $(JSSHELL_NAME) \
|
||||
--dest-file $(MOZ_TEST_PACKAGES_FILE_TC) \
|
||||
@ -422,9 +416,7 @@ endif
|
||||
|
||||
test-packages-manifest:
|
||||
@rm -f $(MOZ_TEST_PACKAGES_FILE)
|
||||
ifndef UNIVERSAL_BINARY
|
||||
$(NSINSTALL) -D $(dir $(MOZ_TEST_PACKAGES_FILE))
|
||||
endif
|
||||
$(PYTHON) $(topsrcdir)/build/gen_test_packages_manifest.py \
|
||||
--jsshell $(JSSHELL_NAME) \
|
||||
--dest-file $(MOZ_TEST_PACKAGES_FILE) \
|
||||
@ -433,9 +425,7 @@ endif
|
||||
|
||||
package-tests:
|
||||
@rm -f '$(DIST)/$(PKG_PATH)$(TEST_PACKAGE)'
|
||||
ifndef UNIVERSAL_BINARY
|
||||
$(NSINSTALL) -D $(DIST)/$(PKG_PATH)
|
||||
endif
|
||||
# Exclude harness specific directories when generating the common zip.
|
||||
$(MKDIR) -p $(abspath $(DIST))/$(PKG_PATH) && \
|
||||
cd $(PKG_STAGE) && \
|
||||
|
Loading…
Reference in New Issue
Block a user