Bug 827531 - Add a pip requirements.txt file for running B2G unit tests, r=aki

This commit is contained in:
Jonathan Griffin 2013-01-16 14:14:10 -08:00
parent 9569e68638
commit e6e412ecfc
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,2 @@
mozprocess==0.8
mozdevice==0.18

View File

@ -383,6 +383,10 @@ ifeq ($(MOZ_WIDGET_TOOLKIT),android)
package-tests: stage-android
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),gonk)
package-tests: stage-b2g
endif
make-stage-dir:
rm -rf $(PKG_STAGE)
$(NSINSTALL) -D $(PKG_STAGE)
@ -394,6 +398,9 @@ make-stage-dir:
$(NSINSTALL) -D $(PKG_STAGE)/mozbase
$(NSINSTALL) -D $(PKG_STAGE)/modules
stage-b2g: make-stage-dir
$(NSINSTALL) $(topsrcdir)/b2g/test/b2g-unittest-requirements.txt $(PKG_STAGE)/b2g
robotium-id-map:
ifeq ($(MOZ_BUILD_APP),mobile/android)
$(PYTHON) $(DEPTH)/build/mobile/robocop/parse_ids.py -i $(DEPTH)/mobile/android/base/R.java -o $(DEPTH)/build/mobile/robocop/fennec_ids.txt
@ -462,6 +469,7 @@ stage-mozbase: make-stage-dir
peptest \
package-tests \
make-stage-dir \
stage-b2g \
stage-mochitest \
stage-reftest \
stage-xpcshell \