Bug 740227 - Add TPS to package tests, r=ted, a=testonly

This commit is contained in:
Jonathan Griffin 2012-04-09 15:11:07 -07:00
Родитель 339b89a35d
Коммит 8efdf7e329
1 изменённых файлов: 38 добавлений и 4 удалений

Просмотреть файл

@ -290,7 +290,17 @@ include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
ifndef UNIVERSAL_BINARY ifndef UNIVERSAL_BINARY
PKG_STAGE = $(DIST)/test-package-stage PKG_STAGE = $(DIST)/test-package-stage
package-tests: stage-mochitest stage-reftest stage-xpcshell stage-jstests stage-jetpack stage-firebug stage-peptest stage-mozbase package-tests: \
stage-mochitest \
stage-reftest \
stage-xpcshell \
stage-jstests \
stage-jetpack \
stage-firebug \
stage-peptest \
stage-mozbase \
stage-tps \
$(NULL)
else else
# This staging area has been built for us by universal/flight.mk # This staging area has been built for us by universal/flight.mk
PKG_STAGE = $(DIST)/universal/test-package-stage PKG_STAGE = $(DIST)/universal/test-package-stage
@ -350,12 +360,36 @@ stage-firebug: make-stage-dir
stage-peptest: make-stage-dir stage-peptest: make-stage-dir
$(MAKE) -C $(DEPTH)/testing/peptest stage-package $(MAKE) -C $(DEPTH)/testing/peptest stage-package
stage-tps: make-stage-dir
$(NSINSTALL) -D $(PKG_STAGE)/tps/tests
@(cd $(topsrcdir)/testing/tps && tar $(TAR_CREATE_FLAGS) - *) | (cd $(PKG_STAGE)/tps && tar -xf -)
@(cd $(topsrcdir)/services/sync/tps && tar $(TAR_CREATE_FLAGS) - *) | (cd $(PKG_STAGE)/tps && tar -xf -)
@(cd $(topsrcdir)/services/sync/tests/tps && tar $(TAR_CREATE_FLAGS) - *) | (cd $(PKG_STAGE)/tps/tests && tar -xf -)
stage-mozbase: make-stage-dir stage-mozbase: make-stage-dir
$(MAKE) -C $(DEPTH)/testing/mozbase stage-package $(MAKE) -C $(DEPTH)/testing/mozbase stage-package
.PHONY: \ .PHONY: \
mochitest mochitest-plain mochitest-chrome mochitest-a11y mochitest-ipcplugins \ mochitest \
reftest crashtest \ mochitest-plain \
mochitest-chrome \
mochitest-a11y \
mochitest-ipcplugins \
reftest \
crashtest \
xpcshell-tests \ xpcshell-tests \
jstestbrowser \ jstestbrowser \
peptest \ peptest \
package-tests make-stage-dir stage-mochitest stage-reftest stage-xpcshell stage-jstests stage-android stage-jetpack stage-firebug stage-peptest stage-mozbase package-tests \
make-stage-dir \
stage-mochitest \
stage-reftest \
stage-xpcshell \
stage-jstests \
stage-android \
stage-jetpack \
stage-firebug \
stage-peptest \
stage-mozbase \
stage-tps \
$(NULL)