mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 05:44:10 +00:00
Bug 823730 - Simplify make xpcshell-tests-remote make target; r=jmaher
This commit is contained in:
parent
fec7a00db2
commit
8a13e7b206
@ -56,11 +56,7 @@ xpcshell-tests:
|
||||
|
||||
xpcshell-tests-remote: DM_TRANS?=adb
|
||||
xpcshell-tests-remote:
|
||||
$(PYTHON) -u $(topsrcdir)/config/pythonpath.py \
|
||||
-I$(topsrcdir)/build \
|
||||
-I$(topsrcdir)/build/mobile \
|
||||
-I$(topsrcdir)/testing/mozbase/mozdevice/mozdevice \
|
||||
$(topsrcdir)/testing/xpcshell/remotexpcshelltests.py \
|
||||
$(PYTHON) -u $(topsrcdir)/testing/xpcshell/remotexpcshelltests.py \
|
||||
--symbols-path=$(DIST)/crashreporter-symbols \
|
||||
--build-info-json=$(DEPTH)/mozinfo.json \
|
||||
--testing-modules-dir=$(DEPTH)/_tests/modules \
|
||||
|
@ -56,11 +56,7 @@ xpcshell-tests:
|
||||
|
||||
xpcshell-tests-remote: DM_TRANS?=adb
|
||||
xpcshell-tests-remote:
|
||||
$(PYTHON) -u $(topsrcdir)/config/pythonpath.py \
|
||||
-I$(topsrcdir)/build \
|
||||
-I$(topsrcdir)/build/mobile \
|
||||
-I$(topsrcdir)/testing/mozbase/mozdevice/mozdevice \
|
||||
$(topsrcdir)/testing/xpcshell/remotexpcshelltests.py \
|
||||
$(PYTHON) -u $(topsrcdir)/testing/xpcshell/remotexpcshelltests.py \
|
||||
--symbols-path=$(DIST)/crashreporter-symbols \
|
||||
--build-info-json=$(DEPTH)/mozinfo.json \
|
||||
--testing-modules-dir=$(DEPTH)/_tests/modules \
|
||||
|
@ -264,22 +264,6 @@ xpcshell-tests:
|
||||
$(TEST_PATH_ARG) $(EXTRA_TEST_ARGS) \
|
||||
$(LIBXUL_DIST)/bin/xpcshell
|
||||
|
||||
REMOTE_XPCSHELL = \
|
||||
rm -f ./$@.log && \
|
||||
$(PYTHON) -u $(topsrcdir)/config/pythonpath.py \
|
||||
-I$(topsrcdir)/build \
|
||||
-I$(topsrcdir)/testing/mozbase/mozdevice/mozdevice \
|
||||
$(topsrcdir)/testing/xpcshell/remotexpcshelltests.py \
|
||||
--manifest=$(DEPTH)/_tests/xpcshell/xpcshell_android.ini \
|
||||
--build-info-json=$(DEPTH)/mozinfo.json \
|
||||
--no-logfiles \
|
||||
--testing-modules-dir=$(call core_abspath,_tests/modules) \
|
||||
--dm_trans=$(DM_TRANS) \
|
||||
--deviceIP=${TEST_DEVICE} \
|
||||
--objdir=$(DEPTH) \
|
||||
$(SYMBOLS_PATH) \
|
||||
$(TEST_PATH_ARG) $(EXTRA_TEST_ARGS)
|
||||
|
||||
B2G_XPCSHELL = \
|
||||
rm -f ./@.log && \
|
||||
$(PYTHON) -u $(topsrcdir)/config/pythonpath.py \
|
||||
@ -314,7 +298,17 @@ xpcshell-tests-b2g:
|
||||
xpcshell-tests-remote: DM_TRANS?=adb
|
||||
xpcshell-tests-remote:
|
||||
@if [ "${TEST_DEVICE}" != "" -o "$(DM_TRANS)" = "adb" ]; \
|
||||
then $(call REMOTE_XPCSHELL); $(CHECK_TEST_ERROR); \
|
||||
then $(PYTHON) -u $(topsrcdir)/testing/xpcshell/remotexpcshelltests.py \
|
||||
--manifest=$(DEPTH)/_tests/xpcshell/xpcshell_android.ini \
|
||||
--build-info-json=$(DEPTH)/mozinfo.json \
|
||||
--no-logfiles \
|
||||
--testing-modules-dir=$(call core_abspath,_tests/modules) \
|
||||
--dm_trans=$(DM_TRANS) \
|
||||
--deviceIP=${TEST_DEVICE} \
|
||||
--objdir=$(DEPTH) \
|
||||
$(SYMBOLS_PATH) \
|
||||
$(TEST_PATH_ARG) $(EXTRA_TEST_ARGS); \
|
||||
$(CHECK_TEST_ERROR); \
|
||||
else \
|
||||
echo "please prepare your host with environment variables for TEST_DEVICE"; \
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user