From e878cfc6a2e41b47f0e277ec68c9099dcfdbf7f7 Mon Sep 17 00:00:00 2001 From: Ted Mielczarek Date: Fri, 16 Oct 2009 13:34:28 -0400 Subject: [PATCH] bug 522703 - should allow passing TEST_PATH with "make {reftest,crashtest}". r=bsmedberg --- testing/testsuite-targets.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/testing/testsuite-targets.mk b/testing/testsuite-targets.mk index a86d83ae0c3f..781700150207 100644 --- a/testing/testsuite-targets.mk +++ b/testing/testsuite-targets.mk @@ -86,12 +86,14 @@ mochitest-a11y: 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)/layout/reftests/reftest.list) + $(call RUN_REFTEST,$(topsrcdir)/$(TEST_PATH)) $(CHECK_TEST_ERROR) +crashtest: TEST_PATH=testing/crashtest/crashtests.list crashtest: - $(call RUN_REFTEST,$(topsrcdir)/testing/crashtest/crashtests.list) + $(call RUN_REFTEST,$(topsrcdir)/$(TEST_PATH)) $(CHECK_TEST_ERROR) jstestbrowser: EXTRA_TEST_ARGS += --extra-profile-file=$(topsrcdir)/js/src/tests/user.js