Bug 469581 - |make *test*| doesn't accept arguments, like --leak-threshold; (Bv1-CC) Keep SeaMonkey |mochitest-browser-chrome| in sync'; r=kairo
authorSerge Gautherie <sgautherie.bz@free.fr>
Thu, 26 Mar 2009 15:00:18 +0100
changeset 2285 e79e68147a0f703884c2981cddf6be5a3d09ee0f
parent 2284 f57dc164053ee4a87bcbe4f18be37a0e98c6ddc2
child 2286 56cccf751e70626a332752cefe314fdf71725943
push idunknown
push userunknown
push dateunknown
reviewerskairo
bugs469581
Bug 469581 - |make *test*| doesn't accept arguments, like --leak-threshold; (Bv1-CC) Keep SeaMonkey |mochitest-browser-chrome| in sync'; r=kairo
suite/build.mk
--- a/suite/build.mk
+++ b/suite/build.mk
@@ -91,25 +91,20 @@ install::
 	@$(MAKE) -C suite/installer install
 
 source-package::
 	@$(MAKE) -C suite/installer source-package
 
 ifndef COMM_BUILD
 # mochitests need to be run from the Mozilla build system
 ifdef ENABLE_TESTS
-# Implemented in testing/testsuite-targets.mk
-
-ifdef TEST_PATH
-BROWSER_TEST_PATH = --test-path=$(TEST_PATH)
-else
-BROWSER_TEST_PATH =
-endif
+# Backend is implemented in mozilla/testing/testsuite-targets.mk.
+# This part is copied from mozilla/browser/build.mk.
 
 mochitest-browser-chrome:
-	$(RUN_MOCHITEST) --browser-chrome $(BROWSER_TEST_PATH)
+	$(RUN_MOCHITEST) --browser-chrome
 	$(CHECK_TEST_ERROR)
 
 mochitest:: mochitest-browser-chrome
 
 .PHONY: mochitest-browser-chrome
 endif
 endif