From 0eaaf58cb887f9b2e628e14ff9de9b3169283457 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Mon, 7 Jan 2019 10:59:01 +0100 Subject: debian/rules: run test.sh during build --- debian/control | 7 +++++++ debian/rules | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/debian/control b/debian/control index 9a37e63..120cab0 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,14 @@ Section: python Priority: optional Build-Depends: debhelper (>= 11), dh-python, + ghostscript , help2man, + imagemagick , + libimage-exiftool-perl , + libtiff-tools , + mupdf-tools , + netpbm , + poppler-utils , python3-all, python3-pdfrw, python3-pil, diff --git a/debian/rules b/debian/rules index 76520dd..b525322 100755 --- a/debian/rules +++ b/debian/rules @@ -10,3 +10,9 @@ override_dh_auto_clean: override_dh_auto_build: dh_auto_build help2man --no-info --name="lossless conversion of raster images to pdf" ./src/img2pdf.py -o img2pdf.1 + +override_dh_auto_test: + dh_auto_test +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES))) + ./test.sh +endif -- cgit v1.2.3