[SCM] Debian Qt/KDE packaging tools branch, master, updated. debian/0.7.3-9-gd1e71ad

Modestas Vainius modax at alioth.debian.org
Fri May 14 13:27:15 UTC 2010


The following commit has been merged in the master branch:
commit 27ca208c7c74f713ce8dab935a2ab510a4551a4b
Author: Modestas Vainius <modestas at vainius.eu>
Date:   Fri May 14 16:22:53 2010 +0300

    Add support for perl tests under t/*.t subdirectory to Makefile.
---
 Makefile         |    5 +++++
 debian/changelog |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index ec1927e..ffa4e6b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,8 @@ DATADIR := $(DESTDIR)/usr/share/pkg-kde-tools
 DATALIBDIR := $(DATADIR)/lib
 PERLLIBDIR := $(DESTDIR)/$(shell perl -MConfig -e 'print $$Config{vendorlib}')
 
+VERBOSE ?= 0
+
 BINARIES = \
 	dh_movelibkdeinit \
 	dh_sameversiondep \
@@ -57,3 +59,6 @@ install:
 	install -d $(DATADIR)/bin
 	ln -sf /usr/bin/pkgkde-gensymbols $(DATADIR)/bin/dpkg-gensymbols
 	ln -sf /usr/share/man/man1/dpkg-gensymbols.1.gz $(MANDIR)/man1/pkgkde-gensymbols.1.gz
+
+test:
+	./run-local perl -MTest::Harness -e '$$Test::Harness::verbose=$(VERBOSE); runtests @ARGV;' t/*.t
diff --git a/debian/changelog b/debian/changelog
index 4068b44..92137b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ pkg-kde-tools (0.7.4~pre1) UNRELEASED; urgency=low
     change made is detection of substs in the original symbol.
   * Add run-local wrapper for easy execution of scripts directly from the
     source package.
+  * Add support for perl tests under t/*.t subdirectory to Makefile.
 
  -- Modestas Vainius <modax at debian.org>  Tue, 04 May 2010 11:09:03 +0300
 

-- 
Debian Qt/KDE packaging tools



More information about the pkg-kde-commits mailing list