1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 # Shortcut for mochitest* and xpcshell-tests targets,
7 # replaces 'EXTRA_TEST_ARGS=--test-path=...'.
9 TEST_PATH_ARG
:= --test-path
="$(TEST_PATH)"
10 PEPTEST_PATH_ARG
:= --test-path
="$(TEST_PATH)"
11 IPCPLUGINS_PATH_ARG
:= --test-path
="$(TEST_PATH)"
14 PEPTEST_PATH_ARG
:= --test-path
=_tests
/peptest
/tests
/firefox
/firefox_all.ini
15 IPCPLUGINS_PATH_ARG
:= --test-path
=dom
/plugins
/test
18 # include automation-build.mk to get the path to the binary
19 TARGET_DEPTH
= $(DEPTH
)
20 include $(topsrcdir
)/build
/binary-location.mk
22 SYMBOLS_PATH
:= --symbols-path
=$(DIST
)/crashreporter-symbols
24 # Usage: |make [TEST_PATH=...] [EXTRA_TEST_ARGS=...] mochitest*|.
25 MOCHITESTS
:= mochitest-plain mochitest-chrome mochitest-a11y mochitest-ipcplugins
26 mochitest
:: $(MOCHITESTS
)
28 ifndef TEST_PACKAGE_NAME
29 TEST_PACKAGE_NAME
:= $(ANDROID_PACKAGE_NAME
)
32 RUN_MOCHITEST_B2G_DESKTOP
= \
34 $(PYTHON
) _tests
/testing
/mochitest
/runtestsb2g.py
--autorun
--close-when-done \
35 --console-level
=INFO
--log-file
=.
/$@.log
--file-level
=INFO \
36 --desktop
--profile
${GAIA_PROFILE_DIR} \
37 --failure-file
=$(call core_abspath
,_tests
/testing
/mochitest
/makefailures.json
) \
38 $(TEST_PATH_ARG
) $(EXTRA_TEST_ARGS
)
42 $(PYTHON
) _tests
/testing
/mochitest
/runtests.py
--autorun
--close-when-done \
43 --console-level
=INFO
--log-file
=.
/$@.log
--file-level
=INFO \
44 --failure-file
=$(call core_abspath
,_tests
/testing
/mochitest
/makefailures.json
) \
45 --testing-modules-dir
=$(call core_abspath
,_tests
/modules
) \
46 --extra-profile-file
=$(DIST
)/plugins \
47 $(SYMBOLS_PATH
) $(TEST_PATH_ARG
) $(EXTRA_TEST_ARGS
)
51 $(PYTHON
) _tests
/testing
/mochitest
/runtests.py
--autorun
--close-when-done \
52 --console-level
=INFO
--log-file
=.
/$@.log
--file-level
=INFO \
53 --run-only-tests
=makefailures.json \
54 --testing-modules-dir
=$(call core_abspath
,_tests
/modules
) \
55 --extra-profile-file
=$(DIST
)/plugins \
56 $(SYMBOLS_PATH
) $(TEST_PATH_ARG
) $(EXTRA_TEST_ARGS
)
58 RUN_MOCHITEST_REMOTE
= \
60 $(PYTHON
) _tests
/testing
/mochitest
/runtestsremote.py
--autorun
--close-when-done \
61 --console-level
=INFO
--log-file
=.
/$@.log
--file-level
=INFO
$(DM_FLAGS
) --dm_trans
=$(DM_TRANS
) \
62 --app
=$(TEST_PACKAGE_NAME
) --deviceIP
=${TEST_DEVICE} --xre-path
=${MOZ_HOST_BIN} \
63 --testing-modules-dir
=$(call core_abspath
,_tests
/modules
) \
64 $(SYMBOLS_PATH
) $(TEST_PATH_ARG
) $(EXTRA_TEST_ARGS
)
66 RUN_MOCHITEST_ROBOTIUM
= \
68 $(PYTHON
) _tests
/testing
/mochitest
/runtestsremote.py
--robocop-path
=$(DEPTH
)/dist \
69 --robocop-ids
=$(DEPTH
)/build
/mobile
/robocop
/fennec_ids.txt \
70 --console-level
=INFO
--log-file
=.
/$@.log
--file-level
=INFO
$(DM_FLAGS
) --dm_trans
=$(DM_TRANS
) \
71 --app
=$(TEST_PACKAGE_NAME
) --deviceIP
=${TEST_DEVICE} --xre-path
=${MOZ_HOST_BIN} \
72 --robocop
=$(DEPTH
)/build
/mobile
/robocop
/robocop.ini
$(SYMBOLS_PATH
) $(TEST_PATH_ARG
) $(EXTRA_TEST_ARGS
)
74 ifndef NO_FAIL_ON_TEST_ERRORS
75 define check_test_error_internal
76 @errors
=`grep "TEST-UNEXPECTED-" $@.log` ;\
77 if
test "$$errors" ; then \
80 $(if
$(1),echo
$(1)) \
84 CHECK_TEST_ERROR
= $(call check_test_error_internal
)
85 CHECK_TEST_ERROR_RERUN
= $(call check_test_error_internal
,"To rerun your failures please run 'make $@-rerun-failures'")
88 mochitest-remote
: DM_TRANS?
=adb
90 @if
[ ! -f
${MOZ_HOST_BIN}/xpcshell
]; then \
91 echo
"please prepare your host with the environment variable MOZ_HOST_BIN"; \
92 elif
[ "${TEST_DEVICE}" = "" -a
"$(DM_TRANS)" != "adb" ]; then \
93 echo
"please prepare your host with the environment variable TEST_DEVICE"; \
95 $(RUN_MOCHITEST_REMOTE
); \
98 mochitest-robotium
: robotium-id-map
99 mochitest-robotium
: DM_TRANS?
=adb
101 @if
[ ! -f
${MOZ_HOST_BIN}/xpcshell
]; then \
102 echo
"please prepare your host with the environment variable MOZ_HOST_BIN"; \
103 elif
[ "${TEST_DEVICE}" = "" -a
"$(DM_TRANS)" != "adb" ]; then \
104 echo
"please prepare your host with the environment variable TEST_DEVICE"; \
106 $(RUN_MOCHITEST_ROBOTIUM
); \
111 @if
[ "${GAIA_PROFILE_DIR}" = "" ]; then \
112 echo
"please specify the GAIA_PROFILE_DIR env variable"; \
114 $(RUN_MOCHITEST_B2G_DESKTOP
); \
115 $(CHECK_TEST_ERROR_RERUN
); \
120 $(CHECK_TEST_ERROR_RERUN
)
123 mochitest-plain-rerun-failures
:
125 $(CHECK_TEST_ERROR_RERUN
)
127 # Allow mochitest-1 ... mochitest-5 for developer ease
128 mochitest-1 mochitest-2 mochitest-3 mochitest-4 mochitest-5
: mochitest-
%:
129 echo
"mochitest: $* / 5"
130 $(RUN_MOCHITEST
) --chunk-by-dir
=4 --total-chunks
=5 --this-chunk
=$*
134 $(RUN_MOCHITEST
) --chrome
138 $(RUN_MOCHITEST
) --a11y
141 mochitest-ipcplugins
:
142 ifeq (Darwin
,$(OS_ARCH
))
143 ifeq (i386
,$(TARGET_CPU
))
144 $(RUN_MOCHITEST
) --setpref
=dom.ipc.plugins.enabled.i386.
test.plugin
=false
$(IPCPLUGINS_PATH_ARG
)
146 ifeq (x86_64
,$(TARGET_CPU
))
147 $(RUN_MOCHITEST
) --setpref
=dom.ipc.plugins.enabled.x86_64.
test.plugin
=false
$(IPCPLUGINS_PATH_ARG
)
149 ifeq (powerpc
,$(TARGET_CPU
))
150 $(RUN_MOCHITEST
) --setpref
=dom.ipc.plugins.enabled.ppc.
test.plugin
=false
$(IPCPLUGINS_PATH_ARG
)
153 $(RUN_MOCHITEST
) --setpref
=dom.ipc.plugins.enabled
=false
--test-path
=dom
/plugins
/test
157 ifeq ($(OS_ARCH
),Darwin
)
158 webapprt_stub_path
= $(TARGET_DIST
)/$(MOZ_MACBUNDLE_NAME
)/Contents
/MacOS
/webapprt-stub
$(BIN_SUFFIX
)
160 ifeq ($(OS_ARCH
),WINNT
)
161 webapprt_stub_path
= $(TARGET_DIST
)/bin
/webapprt-stub
$(BIN_SUFFIX
)
163 ifeq ($(MOZ_WIDGET_TOOLKIT
),gtk2
)
164 webapprt_stub_path
= $(TARGET_DIST
)/bin
/webapprt-stub
$(BIN_SUFFIX
)
167 ifdef webapprt_stub_path
168 webapprt-test-content
:
169 $(RUN_MOCHITEST
) --webapprt-content
--appname
$(webapprt_stub_path
)
171 webapprt-test-chrome
:
172 $(RUN_MOCHITEST
) --webapprt-chrome
--appname
$(webapprt_stub_path
) --browser-arg
-test-mode
176 # Usage: |make [EXTRA_TEST_ARGS=...] *test|.
177 RUN_REFTEST
= rm -f .
/$@.log
&& $(PYTHON
) _tests
/reftest
/runreftest.py \
178 --extra-profile-file
=$(DIST
)/plugins \
179 $(SYMBOLS_PATH
) $(EXTRA_TEST_ARGS
) "$(1)" | tee .
/$@.log
181 REMOTE_REFTEST
= rm -f .
/$@.log
&& $(PYTHON
) _tests
/reftest
/remotereftest.py \
182 --dm_trans
=$(DM_TRANS
) --ignore-window-size \
183 --app
=$(TEST_PACKAGE_NAME
) --deviceIP
=${TEST_DEVICE} --xre-path
=${MOZ_HOST_BIN} \
184 $(SYMBOLS_PATH
) $(EXTRA_TEST_ARGS
) "$(1)" | tee .
/$@.log
186 RUN_REFTEST_B2G
= rm -f .
/$@.log
&& $(PYTHON
) _tests
/reftest
/runreftestb2g.py \
187 --remote-webserver
=10.0.2.2 --b2gpath
=${B2G_PATH} --adbpath
=${ADB_PATH} \
188 --xre-path
=${MOZ_HOST_BIN} $(SYMBOLS_PATH
) --ignore-window-size \
189 $(EXTRA_TEST_ARGS
) "$(1)" | tee .
/$@.log
191 ifeq ($(OS_ARCH
),WINNT
) #{
192 # GPU-rendered shadow layers are unsupported here
193 OOP_CONTENT
= --setpref
=browser.tabs.remote
=true
--setpref
=layers.acceleration.disabled
=true
196 OOP_CONTENT
= --setpref
=browser.tabs.remote
=true
197 GPU_RENDERING
= --setpref
=layers.acceleration.force-enabled
=true
200 reftest
: TEST_PATH?
=layout
/reftests
/reftest.list
202 $(call RUN_REFTEST
,$(topsrcdir
)/$(TEST_PATH
))
205 reftest-remote
: TEST_PATH?
=layout
/reftests
/reftest.list
206 reftest-remote
: DM_TRANS?
=adb
208 @if
[ ! -f
${MOZ_HOST_BIN}/xpcshell
]; then \
209 echo
"please prepare your host with the environment variable MOZ_HOST_BIN"; \
210 elif
[ "${TEST_DEVICE}" = "" -a
"$(DM_TRANS)" != "adb" ]; then \
211 echo
"please prepare your host with the environment variable TEST_DEVICE"; \
213 ln
-s
$(abspath
$(topsrcdir
)) _tests
/reftest
/tests
; \
214 $(call REMOTE_REFTEST
,tests
/$(TEST_PATH
)); \
215 $(CHECK_TEST_ERROR
); \
218 reftest-b2g
: TEST_PATH?
=layout
/reftests
/reftest.list
220 @if
[ ! -f
${MOZ_HOST_BIN}/xpcshell
]; then \
221 echo
"please set the MOZ_HOST_BIN environment variable"; \
222 elif
[ "${B2G_PATH}" = "" -o
"${ADB_PATH}" = "" ]; then \
223 echo
"please set the B2G_PATH and ADB_PATH environment variables"; \
225 ln
-s
$(abspath
$(topsrcdir
)) _tests
/reftest
/tests
; \
226 if
[ "${REFTEST_PATH}" != "" ]; then \
227 $(call RUN_REFTEST_B2G
,tests
/${REFTEST_PATH}); \
229 $(call RUN_REFTEST_B2G
,tests
/$(TEST_PATH
)); \
231 $(CHECK_TEST_ERROR
); \
234 reftest-ipc
: TEST_PATH?
=layout
/reftests
/reftest.list
236 $(call RUN_REFTEST
,$(topsrcdir
)/$(TEST_PATH
) $(OOP_CONTENT
))
239 reftest-ipc-gpu
: TEST_PATH?
=layout
/reftests
/reftest.list
241 $(call RUN_REFTEST
,$(topsrcdir
)/$(TEST_PATH
) $(OOP_CONTENT
) $(GPU_RENDERING
))
244 crashtest
: TEST_PATH?
=testing
/crashtest
/crashtests.list
246 $(call RUN_REFTEST
,$(topsrcdir
)/$(TEST_PATH
))
249 crashtest-ipc
: TEST_PATH?
=testing
/crashtest
/crashtests.list
251 $(call RUN_REFTEST
,$(topsrcdir
)/$(TEST_PATH
) $(OOP_CONTENT
))
254 crashtest-ipc-gpu
: TEST_PATH?
=testing
/crashtest
/crashtests.list
256 $(call RUN_REFTEST
,$(topsrcdir
)/$(TEST_PATH
) $(OOP_CONTENT
) $(GPU_RENDERING
))
259 jstestbrowser
: TESTS_PATH?
=test-package-stage
/jsreftest
/tests
/
261 $(MAKE
) -C
$(DEPTH
)/config
262 $(MAKE
) -C
$(DEPTH
)/js
/src
/config
263 $(MAKE
) stage-jstests
264 $(call RUN_REFTEST
,$(DIST
)/$(TESTS_PATH
)/jstests.list
--extra-profile-file
=$(DIST
)/test-package-stage
/jsreftest
/tests
/user.js
)
267 GARBAGE
+= $(addsuffix .log
,$(MOCHITESTS
) reftest crashtest jstestbrowser
)
269 # Execute all xpcshell tests in the directories listed in the manifest.
270 # See also config/rules.mk 'xpcshell-tests' target for local execution.
271 # Usage: |make [TEST_PATH=...] [EXTRA_TEST_ARGS=...] xpcshell-tests|.
273 $(PYTHON
) -u
$(topsrcdir
)/config
/pythonpath.py \
274 -I
$(topsrcdir
)/build
-I
$(DEPTH
)/_tests
/mozbase
/mozinfo \
275 $(topsrcdir
)/testing
/xpcshell
/runxpcshelltests.py \
276 --manifest
=$(DEPTH
)/_tests
/xpcshell
/xpcshell.ini \
277 --build-info-json
=$(DEPTH
)/mozinfo.json \
279 --tests-root-dir
=$(call core_abspath
,_tests
/xpcshell
) \
280 --testing-modules-dir
=$(call core_abspath
,_tests
/modules
) \
281 --xunit-file
=$(call core_abspath
,_tests
/xpcshell
/results.xml
) \
282 --xunit-suite-name
=xpcshell \
284 $(TEST_PATH_ARG
) $(EXTRA_TEST_ARGS
) \
285 $(LIBXUL_DIST
)/bin
/xpcshell
289 $(PYTHON
) -u
$(topsrcdir
)/config
/pythonpath.py \
290 -I
$(topsrcdir
)/build \
291 $(topsrcdir
)/testing
/xpcshell
/runtestsb2g.py \
292 --manifest
=$(DEPTH
)/_tests
/xpcshell
/xpcshell.ini \
293 --build-info-json
=$(DEPTH
)/mozinfo.json \
298 $$EXTRA_XPCSHELL_ARGS \
299 --b2gpath
=${B2G_HOME} \
300 $(TEST_PATH_ARG
) $(EXTRA_TEST_ARGS
)
302 xpcshell-tests-b2g
: ADB_PATH?
=$(shell which adb
)
304 @if
[ "${B2G_HOME}" = "" ]; then \
305 echo
"Please set the B2G_HOME variable"; exit
1; \
306 elif
[ ! -f
"${ADB_PATH}" ]; then \
307 echo
"Please set the ADB_PATH variable"; exit
1; \
308 elif
[ "${EMULATOR}" != "" ]; then \
309 EXTRA_XPCSHELL_ARGS
=--emulator
=${EMULATOR}; \
310 $(call B2G_XPCSHELL
); \
313 EXTRA_XPCSHELL_ARGS
=--address
=localhost
:2828; \
314 $(call B2G_XPCSHELL
); \
318 xpcshell-tests-remote
: DM_TRANS?
=adb
319 xpcshell-tests-remote
:
320 @if
[ "${TEST_DEVICE}" != "" -o
"$(DM_TRANS)" = "adb" ]; \
321 then
$(PYTHON
) -u
$(topsrcdir
)/testing
/xpcshell
/remotexpcshelltests.py \
322 --manifest
=$(DEPTH
)/_tests
/xpcshell
/xpcshell_android.ini \
323 --build-info-json
=$(DEPTH
)/mozinfo.json \
325 --testing-modules-dir
=$(call core_abspath
,_tests
/modules
) \
326 --dm_trans
=$(DM_TRANS
) \
327 --deviceIP
=${TEST_DEVICE} \
330 $(TEST_PATH_ARG
) $(EXTRA_TEST_ARGS
); \
331 $(CHECK_TEST_ERROR
); \
333 echo
"please prepare your host with environment variables for TEST_DEVICE"; \
336 # Runs peptest, for usage see: https://developer.mozilla.org/en/Peptest#Running_Tests
339 $(PYTHON
) _tests
/peptest
/runtests.py
--binary
=$(browser_path
) \
340 $(PEPTEST_PATH_ARG
) \
341 --proxy
=_tests
/peptest
/tests
/firefox
/server-locations.txt \
343 --server-path
=_tests
/peptest
/tests
/firefox
/server \
344 --log-file
=.
/$@.log
$(SYMBOLS_PATH
) $(EXTRA_TEST_ARGS
)
350 REMOTE_CPPUNITTESTS
= \
351 $(PYTHON
) -u
$(topsrcdir
)/testing
/remotecppunittests.py \
352 --xre-path
=$(DEPTH
)/dist/bin \
353 --localLib
=$(DEPTH
)/dist/fennec \
354 --dm_trans
=$(DM_TRANS
) \
355 --deviceIP
=${TEST_DEVICE} \
356 $(TEST_PATH
) $(EXTRA_TEST_ARGS
)
358 # Usage: |make [TEST_PATH=...] [EXTRA_TEST_ARGS=...] cppunittests-remote|.
359 cppunittests-remote
: DM_TRANS?
=adb
361 @if
[ "${TEST_DEVICE}" != "" -o
"$(DM_TRANS)" = "adb" ]; \
362 then
$(call REMOTE_CPPUNITTESTS
); \
364 echo
"please prepare your host with environment variables for TEST_DEVICE"; \
368 $(PYTHON
) $(topsrcdir
)/addon-sdk
/source
/bin
/cfx
-b
$(browser_path
) --parseable testpkgs
371 # -- --trace-malloc malloc.log --shutdown-leaks=sdleak.log
373 $(PYTHON
) _leaktest
/leaktest.py
$(LEAKTEST_ARGS
)
376 $(PYTHON
) $(DEPTH
)/_profile
/pgo
/profileserver.py
$(EXTRA_TEST_ARGS
)
378 # Package up the tests and test harnesses
379 include $(topsrcdir
)/toolkit
/mozapps
/installer
/package-name.mk
381 ifndef UNIVERSAL_BINARY
382 PKG_STAGE
= $(DIST
)/test-package-stage
396 # This staging area has been built for us by universal/flight.mk
397 PKG_STAGE
= $(DIST
)/universal
/test-package-stage
401 @
rm -f
"$(DIST)/$(PKG_PATH)$(TEST_PACKAGE)"
402 ifndef UNIVERSAL_BINARY
403 $(NSINSTALL
) -D
$(DIST
)/$(PKG_PATH
)
405 #building tests.jar (bug 543800) fails on unify, so we build tests.jar after unify is run
406 $(MAKE
) -C
$(DEPTH
)/testing
/mochitest stage-chromejar PKG_STAGE
=$(DIST
)/universal
408 find
$(PKG_STAGE
) -name
"*.pyc" -exec
rm {} \
;
410 zip
-rq9D
"$(call core_abspath,$(DIST)/$(PKG_PATH)$(TEST_PACKAGE))" \
413 ifeq ($(MOZ_WIDGET_TOOLKIT
),android
)
414 package-tests
: stage-android
417 ifeq ($(MOZ_WIDGET_TOOLKIT
),gonk
)
418 package-tests
: stage-b2g
423 $(NSINSTALL
) -D
$(PKG_STAGE
)
424 $(NSINSTALL
) -D
$(PKG_STAGE
)/bin
425 $(NSINSTALL
) -D
$(PKG_STAGE
)/bin
/components
426 $(NSINSTALL
) -D
$(PKG_STAGE
)/certs
427 $(NSINSTALL
) -D
$(PKG_STAGE
)/jetpack
428 $(NSINSTALL
) -D
$(PKG_STAGE
)/peptest
429 $(NSINSTALL
) -D
$(PKG_STAGE
)/mozbase
430 $(NSINSTALL
) -D
$(PKG_STAGE
)/modules
432 stage-b2g
: make-stage-dir
433 $(NSINSTALL
) $(topsrcdir
)/b2g
/test/b2g-unittest-requirements.txt
$(PKG_STAGE
)/b2g
436 ifeq ($(MOZ_BUILD_APP
),mobile
/android
)
437 $(PYTHON
) $(DEPTH
)/build
/mobile
/robocop
/parse_ids.py
-i
$(DEPTH
)/mobile
/android
/base
/R.java
-o
$(DEPTH
)/build
/mobile
/robocop
/fennec_ids.txt
440 stage-mochitest
: robotium-id-map
441 stage-mochitest
: make-stage-dir
442 $(MAKE
) -C
$(DEPTH
)/testing
/mochitest stage-package
443 ifeq ($(MOZ_BUILD_APP
),mobile
/android
)
444 $(NSINSTALL
) $(DEPTH
)/build
/mobile
/robocop
/fennec_ids.txt
$(PKG_STAGE
)/mochitest
447 stage-reftest
: make-stage-dir
448 $(MAKE
) -C
$(DEPTH
)/layout
/tools
/reftest stage-package
450 stage-xpcshell
: make-stage-dir
451 $(MAKE
) -C
$(DEPTH
)/testing
/xpcshell stage-package
453 stage-jstests
: make-stage-dir
454 $(MAKE
) -C
$(DEPTH
)/js
/src
/tests stage-package
456 stage-android
: make-stage-dir
457 $(NSINSTALL
) $(DEPTH
)/build
/mobile
/sutagent
/android
/sutAgentAndroid.apk
$(PKG_STAGE
)/bin
458 $(NSINSTALL
) $(DEPTH
)/build
/mobile
/sutagent
/android
/watcher
/Watcher.apk
$(PKG_STAGE
)/bin
459 $(NSINSTALL
) $(DEPTH
)/build
/mobile
/sutagent
/android
/fencp
/FenCP.apk
$(PKG_STAGE
)/bin
460 $(NSINSTALL
) $(DEPTH
)/build
/mobile
/sutagent
/android
/ffxcp
/FfxCP.apk
$(PKG_STAGE
)/bin
462 stage-jetpack
: make-stage-dir
463 $(NSINSTALL
) $(topsrcdir
)/testing
/jetpack
/jetpack-location.txt
$(PKG_STAGE
)/jetpack
464 $(MAKE
) -C
$(DEPTH
)/addon-sdk stage-tests-package
466 stage-peptest
: make-stage-dir
467 $(MAKE
) -C
$(DEPTH
)/testing
/peptest stage-package
469 stage-tps
: make-stage-dir
470 $(NSINSTALL
) -D
$(PKG_STAGE
)/tps
/tests
471 @
(cd
$(topsrcdir
)/testing
/tps
&& tar $(TAR_CREATE_FLAGS
) - *) |
(cd
$(PKG_STAGE
)/tps
&& tar -xf
-)
472 @
(cd
$(topsrcdir
)/services
/sync
/tps
&& tar $(TAR_CREATE_FLAGS
) - *) |
(cd
$(PKG_STAGE
)/tps
&& tar -xf
-)
473 (cd
$(topsrcdir
)/services
/sync
/tests
/tps
&& tar $(TAR_CREATE_FLAGS_QUIET
) - *) |
(cd
$(PKG_STAGE
)/tps
/tests
&& tar -xf
-)
475 stage-modules
: make-stage-dir
476 $(NSINSTALL
) -D
$(PKG_STAGE
)/modules
477 cp
-RL
$(DEPTH
)/_tests
/modules
$(PKG_STAGE
)
479 MARIONETTE_DIR
=$(PKG_STAGE
)/marionette
480 stage-marionette
: make-stage-dir
481 $(NSINSTALL
) -D
$(MARIONETTE_DIR
)/tests
482 @
(cd
$(topsrcdir
)/testing
/marionette
/client
&& tar --exclude marionette
/tests
$(TAR_CREATE_FLAGS
) - *) |
(cd
$(MARIONETTE_DIR
) && tar -xf
-)
483 $(PYTHON
) $(topsrcdir
)/testing
/marionette
/client
/marionette
/tests
/print-manifest-dirs.py \
485 $(topsrcdir
)/testing
/marionette
/client
/marionette
/tests
/unit-tests.ini \
486 |
(cd
$(topsrcdir
) && xargs
tar $(TAR_CREATE_FLAGS_QUIET
) -) \
487 |
(cd
$(MARIONETTE_DIR
)/tests
&& tar -xf
-)
489 stage-mozbase
: make-stage-dir
490 $(MAKE
) -C
$(DEPTH
)/testing
/mozbase stage-package
496 mochitest-ipcplugins \