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
--- 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)'