diff --git a/suite/build.mk b/suite/build.mk index d21d5c1c98..4a45cea51f 100644 --- a/suite/build.mk +++ b/suite/build.mk @@ -97,8 +97,15 @@ 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 + mochitest-browser-chrome: - $(RUN_MOCHITEST) --browser-chrome + $(RUN_MOCHITEST) --browser-chrome $(BROWSER_TEST_PATH) $(CHECK_TEST_ERROR) mochitest:: mochitest-browser-chrome