chiark / gitweb /
Test suite: Provide rules target for list-tests gencontrol
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 25 Jul 2015 17:21:28 +0000 (18:21 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 25 Jul 2015 17:32:29 +0000 (18:32 +0100)
debian/rules

index fe5dd4c..ad842f3 100755 (executable)
@@ -33,3 +33,9 @@ override_dh_gencontrol:
 override_dh_auto_install:
        make install prefix=/usr DESTDIR=debian/dgit
        make install-infra prefix=/usr DESTDIR=debian/dgit-infrastructure
+
+debian/tests/control: tests/list-tests debian/tests/control.in
+       $< gencontrol >$@.new && mv -f $@.new $@
+
+debian/tests/control: tests/lib-core tests/lib-restricts
+debian/tests/control: $(wildcard tests/tests/*[^~#])