diff --git a/build/macosx/universal/flight.mk b/build/macosx/universal/flight.mk index ec55ba8af3c..71672d44157 100644 --- a/build/macosx/universal/flight.mk +++ b/build/macosx/universal/flight.mk @@ -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 diff --git a/build/macosx/universal/mozconfig b/build/macosx/universal/mozconfig index fd1b3ee9226..32ab66f2dfb 100644 --- a/build/macosx/universal/mozconfig +++ b/build/macosx/universal/mozconfig @@ -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 diff --git a/testing/mozharness/configs/builds/releng_base_mac_64_builds.py b/testing/mozharness/configs/builds/releng_base_mac_64_builds.py index b471fbb1ff1..9f10c17a93b 100644 --- a/testing/mozharness/configs/builds/releng_base_mac_64_builds.py +++ b/testing/mozharness/configs/builds/releng_base_mac_64_builds.py @@ -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, diff --git a/testing/testsuite-targets.mk b/testing/testsuite-targets.mk index dc879009ebf..dafe0666c0f 100644 --- a/testing/testsuite-targets.mk +++ b/testing/testsuite-targets.mk @@ -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) && \