Bug 1181732 - Fix invocations of gen_test_packages_manifest.py to create destination directory before attempting to write output file. r=glandium a=test-only on a CLOSED TREE
authorChris Manchester <cmanchester@mozilla.com>
Wed, 08 Jul 2015 13:51:32 -0700
changeset 267835 0e356ce6f0521aa290da15413cc80736dcd47de9
parent 267834 359c711c088f8e21e39385004ee9c1e1d4bdce3e
child 267836 5c3c5d8d2322da41c76e1ce7a80f5d9180f13d32
push id855
push usercmanchester@mozilla.com
push dateThu, 09 Jul 2015 18:55:55 +0000
treeherdermozilla-release@5c3c5d8d2322 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium, test-only
bugs1181732
milestone39.0.1
Bug 1181732 - Fix invocations of gen_test_packages_manifest.py to create destination directory before attempting to write output file. r=glandium a=test-only on a CLOSED TREE
testing/testsuite-targets.mk
--- a/testing/testsuite-targets.mk
+++ b/testing/testsuite-targets.mk
@@ -426,16 +426,19 @@ TEST_PKGS := \
   xpcshell \
   web-platform \
   $(NULL)
 
 PKG_ARG = --$(1) '$(PKG_BASENAME).$(1).tests.zip'
 
 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) \
       $(call PKG_ARG,common) \
       $(foreach pkg,$(TEST_PKGS),$(call PKG_ARG,$(pkg)))
 
 package-tests:
 	@rm -f '$(DIST)/$(PKG_PATH)$(TEST_PACKAGE)'