[Pkg-mozext-commits] [requestpolicy] 21/65: [tst][fix] `make marionette` exit status

David Prévot taffit at moszumanska.debian.org
Fri Mar 25 22:59:47 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 f605fe1bbe449adc22adfbe8e7e1784ba137c834
Author: Martin Kimmerle <dev at 256k.de>
Date:   Wed Jan 13 21:40:19 2016 +0100

    [tst][fix] `make marionette` exit status
    
    `make marionette` should return the exit code of the
    `firefox-ui-functional` command so that
    `git bisect run make marionette` can be used.
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index d79e181..7bec820 100644
--- a/Makefile
+++ b/Makefile
@@ -409,7 +409,9 @@ marionette: venv \
 	export PYTHONPATH=tests/marionette/ ; \
 	profile_dir=`mozprofile -a $(xpi_file__unit_testing) -a $(xpi_file__dev_helper) --preferences=$(mozrunner_prefs_ini):marionette` ; \
 	firefox-ui-functional --binary=$(app_binary) --profile=$$profile_dir $(marionette_prefs) $(marionette_tests) ; \
+	exit_status=$$? ; \
 	rm -rf $$profile_dir ; \
+	exit $$exit_status \
 	)
 
 #-------------------------------------------------------------------------------

-- 
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