summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJohannes 'josch' Schauer <josch@debian.org>2019-01-07 10:59:01 +0100
committerJohannes 'josch' Schauer <josch@debian.org>2019-01-07 12:45:12 +0100
commit0eaaf58cb887f9b2e628e14ff9de9b3169283457 (patch)
tree859facaf53140da95ec8cf304672be6ab64ff0f2 /debian/rules
parent3c6d69a6870e7d47816e09261dd7849a3ae93d7a (diff)
debian/rules: run test.sh during build
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
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