Bug 1228674 - Handle filenames with spaces in 'define package_archive'. r=gps, a=ritu
authoraleth <aleth@instantbird.org>
Fri, 27 Nov 2015 22:33:25 +0100
changeset 317104 69905a57ac2d3d7fe581f47c4a962ec35d7636fd
parent 317103 f2da4256bbe6bd9fc51cfa7a3086fec4c54ba8ec
child 317105 0f9c2337da96fde3cc8f2c63200b56ee2578b6fd
child 353432 180da27415efeb56d730f4a5430e166cec663e47
push id8643
push usermconley@mozilla.com
push dateTue, 22 Dec 2015 18:28:20 +0000
reviewersgps, ritu
bugs1228674
milestone44.0a2
Bug 1228674 - Handle filenames with spaces in 'define package_archive'. r=gps, a=ritu
testing/testsuite-targets.mk
--- a/testing/testsuite-targets.mk
+++ b/testing/testsuite-targets.mk
@@ -421,17 +421,17 @@ test-packages-manifest:
 package-tests-prepare-dest:
 	@rm -f '$(DIST)/$(PKG_PATH)$(TEST_PACKAGE)'
 	$(NSINSTALL) -D $(DIST)/$(PKG_PATH)
 
 define package_archive
 package-tests-$(1): stage-all package-tests-prepare-dest
 	$$(call py_action,test_archive, \
 		$(1) \
-		$$(abspath $$(DIST))/$$(PKG_PATH)/$$(PKG_BASENAME).$(1).tests.zip)
+		'$$(abspath $$(DIST))/$$(PKG_PATH)/$$(PKG_BASENAME).$(1).tests.zip')
 package-tests: package-tests-$(1)
 endef
 
 $(foreach name,$(TEST_PKGS),$(eval $(call package_archive,$(name))))
 
 ifeq ($(MOZ_BUILD_APP),mobile/android)
 stage-all: stage-android
 stage-all: stage-instrumentation-tests