[Pkg-mozext-commits] [requestpolicy] 11/50: [ref] Makefile: run_args, run_xpis

David Prévot taffit at moszumanska.debian.org
Mon Jun 27 12:50:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository requestpolicy.

commit a4cf83192d68f6b94516bb31517578f715e624b2
Author: Martin Kimmerle <dev at 256k.de>
Date:   Wed Mar 30 02:43:40 2016 +0200

    [ref] Makefile: run_args, run_xpis
---
 Makefile | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index a19dc09..46d2490 100644
--- a/Makefile
+++ b/Makefile
@@ -378,17 +378,17 @@ venv: .venv/bin/activate
 #-------------------------------------------------------------------------------
 
 # arguments for mozrunner
-mozrunner_args := -a $(xpi_file__unit_testing) -a $(xpi_file__dev_helper)
-mozrunner_args += -b $(app_binary)
-mozrunner_args += --preferences=$(mozrunner_prefs_ini):dev
-mozrunner_args += $(moz_args)
+run_additional_xpis :=
+run_xpis := $(xpi_file__unit_testing) $(xpi_file__dev_helper) $(run_additional_xpis)
+run_additional_args :=
+run_args := $(addprefix -a ,$(run_xpis))
+run_args += -b $(app_binary)
+run_args += --preferences=$(mozrunner_prefs_ini):dev
+run_args += $(run_additional_args)
 
 .PHONY: run
 run: venv unit-testing-xpi dev-helper-xpi
-	( \
-	source .venv/bin/activate ; \
-	mozrunner $(mozrunner_args) ; \
-	)
+	source .venv/bin/activate ; mozrunner $(run_args)
 
 #-------------------------------------------------------------------------------
 # unit testing: Marionette

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git



More information about the Pkg-mozext-commits mailing list