Bug 774054 - Switch mochitest file $(INSTALL) to install_cmd. r=glandium
authorSiddharth Agarwal <sid.bugzilla@gmail.com>
Fri, 20 Jul 2012 01:07:10 +0530
changeset 99830 e1b7eef10f3ef344488f91d5bf950ecf30714d64
parent 99829 f5f8ebf59bbf3d1275ad5c67a9c6bc035fe4349e
child 99831 0a00993c6ebe12a8e7771636d9c6eb04a695ed64
push id934
push userrcampbell@mozilla.com
push dateFri, 20 Jul 2012 14:05:35 +0000
treeherderfx-team@6d4904694feb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs774054
milestone17.0a1
Bug 774054 - Switch mochitest file $(INSTALL) to install_cmd. r=glandium
config/makefiles/mochitest.mk
js/src/config/makefiles/mochitest.mk
--- a/config/makefiles/mochitest.mk
+++ b/config/makefiles/mochitest.mk
@@ -10,17 +10,17 @@ ifndef INCLUDED_TESTS_MOCHITEST_MK #{
 ifdef relativesrcdir
   mochitestdir = $(DEPTH)/_tests/testing/mochitest/$1/$(relativesrcdir)
 else
   mochitestdir = $(DEPTH)/_tests/testing/mochitest/$1/$(subst $(topsrcdir),,$(srcdir))
 endif
 
 define mochitest-libs-rule-template
 libs:: $$($(1))
-	$$(INSTALL) $$(foreach f,$$^,"$$(f)") $$(call mochitestdir,$(2))
+	$$(call install_cmd,$$(foreach f,$$^,"$$(f)") $$(call mochitestdir,$(2)))
 endef
 
 # Provide support for modules with such a large number of tests that
 # installing them with a single $(INSTALL) invocation would overflow
 # command-line length limits on some operating systems.
 ifdef MOCHITEST_FILES_PARTS
 ifdef MOCHITEST_FILES
 $(error You must define only one of MOCHITEST_FILES_PARTS or MOCHITEST_FILES)
--- a/js/src/config/makefiles/mochitest.mk
+++ b/js/src/config/makefiles/mochitest.mk
@@ -10,17 +10,17 @@ ifndef INCLUDED_TESTS_MOCHITEST_MK #{
 ifdef relativesrcdir
   mochitestdir = $(DEPTH)/_tests/testing/mochitest/$1/$(relativesrcdir)
 else
   mochitestdir = $(DEPTH)/_tests/testing/mochitest/$1/$(subst $(topsrcdir),,$(srcdir))
 endif
 
 define mochitest-libs-rule-template
 libs:: $$($(1))
-	$$(INSTALL) $$(foreach f,$$^,"$$(f)") $$(call mochitestdir,$(2))
+	$$(call install_cmd,$$(foreach f,$$^,"$$(f)") $$(call mochitestdir,$(2)))
 endef
 
 # Provide support for modules with such a large number of tests that
 # installing them with a single $(INSTALL) invocation would overflow
 # command-line length limits on some operating systems.
 ifdef MOCHITEST_FILES_PARTS
 ifdef MOCHITEST_FILES
 $(error You must define only one of MOCHITEST_FILES_PARTS or MOCHITEST_FILES)