Bug 721357. (Bv2) Fix support for SeaMonkey in MailNews Core 'mailbloat' target. r=mbanner.
authorSerge Gautherie <sgautherie.bz@free.fr>
Mon, 30 Jan 2012 13:59:51 +0100
changeset 10549 73d713767f753d6a09d71f6f6df36a8d2ac4c458
parent 10548 9b1782c766aa7f39ebc7dff1a31c7cda36bc209a
child 10550 bec2e72ce8ed680641e5b2188ec97f2033f08453
push id402
push userbugzilla@standard8.plus.com
push dateTue, 13 Mar 2012 21:17:18 +0000
treeherdercomm-beta@d080a8ebf16a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbanner
bugs721357
Bug 721357. (Bv2) Fix support for SeaMonkey in MailNews Core 'mailbloat' target. r=mbanner.
mailnews/testsuite-targets.mk
--- a/mailnews/testsuite-targets.mk
+++ b/mailnews/testsuite-targets.mk
@@ -38,18 +38,19 @@
 APP_NAME := $(MOZ_APP_DISPLAYNAME)
 
 ifdef MOZ_DEBUG
 APP_NAME := $(APP_NAME)Debug
 endif
 
 SYMBOLS_PATH := --symbols-path=$(DIST)/crashreporter-symbols
 
-ifdef MOZ_SUITE
-EXTRA_BLOAT_ARGS := -mail
+# BLOAT_EXTRA_ARG lets an application add an extra startup argument.
+ifdef BLOAT_EXTRA_ARG
+BLOAT_EXTRA_STARTUP_ARG := --extra-startup-arg=$(BLOAT_EXTRA_ARG)
 endif
 
 mailbloat:
 	$(PYTHON) -u $(topsrcdir)/mozilla/config/pythonpath.py \
-        -I$(DIST)/../build -I$(MOZILLA_DIR)/build \
-        $(topsrcdir)/mailnews/test/performance/bloat/runtest.py \
-	--distdir=$(DIST) --bin=$(MOZ_APP_NAME) --brand=$(APP_NAME) \
-	$(SYMBOLS_PATH) $(EXTRA_BLOAT_ARGS)
+	  -I$(DIST)/../build -I$(MOZILLA_DIR)/build \
+	  $(topsrcdir)/mailnews/test/performance/bloat/runtest.py \
+	    --distdir=$(DIST) --bin=$(MOZ_APP_NAME) --brand=$(APP_NAME) \
+	    $(SYMBOLS_PATH) $(BLOAT_EXTRA_STARTUP_ARG)