summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@debian.org>2019-05-28 18:48:36 +0000
committerDmitry Bogatov <KAction@debian.org>2019-05-28 18:48:36 +0000
commit8eddb040f95b7e6a2ebb4700c4518e76b7c5b294 (patch)
tree54590a5f6f3839cb788a8fa6382f910e0decdbe0 /Makefile
parent9896a453b092edfc871450389569315ef72fd767 (diff)
Make it possible to reuse t/*.t for autopkgtest
During build (target "check"), PATH and DH_AUTOSCRIPTDIR are set in a way, that tests use dh_runit(1) and maintainer script snippets from current directory. Target "autopkgtest" uses dh_runit, globally installed in system.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 46acb19..2f77795 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
1all: 1all:
2check: 2check:
3 PATH=$(CURDIR):$(PATH) DH_AUTOSCRIPTDIR=$(CURDIR) prove -I.
4autopkgtest:
3 prove -I. 5 prove -I.
4.PHONY: check 6.PHONY: check