Bug 653586 Support mochitest-browser-chrome target for Fennec r=blassey
authorBenjamin Stover <bstover@mozilla.com>
Thu, 28 Apr 2011 16:29:36 -0700
changeset 68735 8adc01e9141cbb2280c22b34dadc07701201d834
parent 68734 e9dafe775b3187b130a838e841167d028fe53a93
child 68736 b7e0c1485f60e6865d0ba3dcdbb38d701338ae60
push idunknown
push userunknown
push dateunknown
reviewersblassey
bugs653586
milestone6.0a1
Bug 653586 Support mochitest-browser-chrome target for Fennec r=blassey
mobile/build.mk
--- a/mobile/build.mk
+++ b/mobile/build.mk
@@ -76,11 +76,23 @@ install::
 	@exit 1
 
 deb: package
 	@$(MAKE) -C mobile/installer deb
 
 upload::
 	@$(MAKE) -C mobile/installer upload
 
+ifdef ENABLE_TESTS
+# Implemented in testing/testsuite-targets.mk
+
+mochitest-browser-chrome:
+	$(RUN_MOCHITEST) --browser-chrome
+	$(CHECK_TEST_ERROR)
+
+mochitest:: mochitest-browser-chrome
+
+.PHONY: mochitest-browser-chrome
+endif
+
 ifeq ($(OS_TARGET),Linux)
 deb: installer
 endif