Bug 513195 make xpcshell-tests & check-one & check interactive broken for c-c. r=KaiRo
authorMark Banner <bugzilla@standard8.plus.com>
Fri, 28 Aug 2009 13:27:05 +0100
changeset 3443 9cac0431ec5221d68d5b567b4bc731cf67ae69c1
parent 3442 14db5b7f0dbf0fc25936daf5990782c98d17959d
child 3444 dc30a01aa4fc5293e40586db93b497ce490e115d
push idunknown
push userunknown
push dateunknown
reviewersKaiRo
bugs513195
Bug 513195 make xpcshell-tests & check-one & check interactive broken for c-c. r=KaiRo
config/rules.mk
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -148,36 +148,42 @@ libs::
 	  $(testxpcobjdir)/all-test-dirs.list \
 	  $(addprefix $(MODULE)/,$(XPCSHELL_TESTS))
 
 testxpcsrcdir = $(MOZILLA_SRCDIR)/testing/xpcshell
 
 # Execute all tests in the $(XPCSHELL_TESTS) directories.
 # See also mozilla/testsuite-targets.mk 'xpcshell-tests' target for global execution.
 xpcshell-tests:
-	$(PYTHON) -u \
+	$(PYTHON) -u $(topsrcdir)/mozilla/config/pythonpath.py \
+	  -I$(topsrcdir)/mozilla/build \
           $(testxpcsrcdir)/runxpcshelltests.py \
+	  --symbols-path=$(DIST)/crashreporter-symbols \
           $(DIST)/bin/xpcshell \
           $(foreach dir,$(XPCSHELL_TESTS),$(testxpcobjdir)/$(MODULE)/$(dir))
 
 # Execute a single test, specified in $(SOLO_FILE), but don't automatically
 # start the test. Instead, present the xpcshell prompt so the user can
 # attach a debugger and then start the test.
 check-interactive:
-	$(PYTHON) -u \
+	$(PYTHON) -u $(topsrcdir)/mozilla/config/pythonpath.py \
+	  -I$(topsrcdir)/mozilla/build \
           $(testxpcsrcdir)/runxpcshelltests.py \
+	  --symbols-path=$(DIST)/crashreporter-symbols \
           --test=$(SOLO_FILE) \
           --interactive \
           $(DIST)/bin/xpcshell \
           $(foreach dir,$(XPCSHELL_TESTS),$(testxpcobjdir)/$(MODULE)/$(dir))
 
 # Execute a single test, specified in $(SOLO_FILE)
 check-one:
-	$(PYTHON) -u \
+	$(PYTHON) -u $(topsrcdir)/mozilla/config/pythonpath.py \
+	  -I$(topsrcdir)/mozilla/build \
           $(testxpcsrcdir)/runxpcshelltests.py \
+	  --symbols-path=$(DIST)/crashreporter-symbols \
           --test=$(SOLO_FILE) \
           $(DIST)/bin/xpcshell \
           $(foreach dir,$(XPCSHELL_TESTS),$(testxpcobjdir)/$(MODULE)/$(dir))
 
 endif # XPCSHELL_TESTS
 
 ifdef CPP_UNIT_TESTS