Bug 612677 - Accept TEST_PATH as an environment variable for crashtest and jstestbrowser. r=khuey a=NPOTB
authorMounir Lamouri <mounir.lamouri@gmail.com>
Wed, 17 Nov 2010 17:25:16 +0100
changeset 57658 1b4d00d79ae61cca9f4aa94c35a36356d325a924
parent 57657 6d7b682a3cc45179fbc0c2e769eb4ba4d6cac325
child 57659 2eb1331a2bc42c081fde0511796195244c85e724
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewerskhuey, NPOTB
bugs612677
milestone2.0b8pre
Bug 612677 - Accept TEST_PATH as an environment variable for crashtest and jstestbrowser. r=khuey a=NPOTB
testing/testsuite-targets.mk
--- a/testing/testsuite-targets.mk
+++ b/testing/testsuite-targets.mk
@@ -108,22 +108,22 @@ endif
 RUN_REFTEST = rm -f ./$@.log && $(PYTHON) _tests/reftest/runreftest.py \
   $(SYMBOLS_PATH) $(EXTRA_TEST_ARGS) $(1) | tee ./$@.log
 
 reftest: TEST_PATH?=layout/reftests/reftest.list
 reftest:
 	$(call RUN_REFTEST,$(topsrcdir)/$(TEST_PATH))
 	$(CHECK_TEST_ERROR)
 
-crashtest: TEST_PATH=testing/crashtest/crashtests.list
+crashtest: TEST_PATH?=testing/crashtest/crashtests.list
 crashtest:
 	$(call RUN_REFTEST,$(topsrcdir)/$(TEST_PATH))
 	$(CHECK_TEST_ERROR)
 
-jstestbrowser: TEST_PATH=js/src/tests/jstests.list
+jstestbrowser: TEST_PATH?=js/src/tests/jstests.list
 jstestbrowser:
 	$(call RUN_REFTEST,$(topsrcdir)/$(TEST_PATH) --extra-profile-file=$(topsrcdir)/js/src/tests/user.js)
 	$(CHECK_TEST_ERROR)
 
 GARBAGE += $(addsuffix .log,$(MOCHITESTS) reftest crashtest jstestbrowser)
 
 # Execute all xpcshell tests in the directories listed in the manifest.
 # See also config/rules.mk 'xpcshell-tests' target for local execution.