[diffoscope] 01/01: d/rules: trying to put an $(info…)

Mattia Rizzolo mattia at debian.org
Thu May 18 03:12:34 CEST 2017


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

mattia pushed a commit to branch experimental
in repository diffoscope.

commit 7f3dd1bfaa14b09c080f546eb16018179b86c26b
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Thu May 18 03:12:12 2017 +0200

    d/rules: trying to put an $(info…)
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/rules | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 883eecd..1da934e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,9 +26,12 @@ export PYBUILD_AFTER_TEST = debian/tests/basic-command-line
 export PYBUILD_AFTER_INSTALL = rm -rvf '{destdir}/{install_dir}/htmlcov' '{destdir}/{install_dir}/.coverage'
 
 ifneq ($(JENKINS_EXPORTS_DIR),)
-export PYBUILD_TEST_ARGS += --junit-xml=$(JENKINS_EXPORTS_DIR)/test-results/tests.xml
+	$(info exporting junit style test report to $(JENKINS_EXPORTS_DIR))
+	export PYBUILD_BEFORE_TEST = mkdir -pv $(JENKINS_EXPORTS_DIR)/test-results
+	export PYBUILD_TEST_ARGS += --junit-xml=$(JENKINS_EXPORTS_DIR)/test-results/tests.xml
 endif
 
+
 %:
 	dh $@ --with python3 --with bash-completion --buildsystem=pybuild
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list