[diffoscope] 01/01: debian/rules: run the basic-command-line test during package build

Mattia Rizzolo mattia at debian.org
Wed Aug 31 16:48:22 CEST 2016


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

mattia pushed a commit to branch master
in repository diffoscope.

commit 81493a01b4163205f73d9f9994ba1307de6ec21b
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Wed Aug 31 14:48:12 2016 +0000

    debian/rules: run the basic-command-line test during package build
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 9a2beea..23cfc8d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,10 @@ ifneq ($(VERSION_dch),$(VERSION_py))
  $(error "Version in debian/changelog doesn't match diffoscope version")
 endif
 
+export PATH := $(PATH):$(CURDIR)/bin
 export PYBUILD_DESTDIR = debian/diffoscope
 export PYBUILD_TEST_ARGS = -vv -r sxX --cov=diffoscope --cov-report=term-missing --cov-report=html
+export PYBUILD_AFTER_TEST = debian/tests/basic-command-line
 export PYBUILD_AFTER_INSTALL=rm -rvf '{destdir}/{install_dir}/htmlcov' '{destdir}/{install_dir}/.coverage'
 
 %:

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


More information about the diffoscope mailing list