[SCM] Debian packaging of libopengl-perl branch, master, updated. upstream/0.66+dfsg-133-ge95f240

gregor herrmann gregoa at debian.org
Fri Jan 27 16:24:10 UTC 2012


The following commit has been merged in the master branch:
commit e95f240026b95a2767cc3b29a3dc1a915ba20627
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jan 27 17:14:54 2012 +0100

    Enable (part of) the test suite during package build.

diff --git a/debian/rules b/debian/rules
index 2d922ff..da8dd69 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,15 +3,18 @@
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
+TEST_FILES=$(wildcard t/*.t)
+
 %:
 	dh $@
 
+override_dh_auto_test:
+	# run t/*.t, skip test.pl
+	dh_auto_test -- TEST_FILES="$(TEST_FILES)" TEST_FILE=/dev/null
+
 override_dh_installchangelogs:
 	dh_installchangelogs Release_Notes
 
-override_dh_auto_test:
-	# Test is interactive, therefore disabled
-
 override_dh_installexamples:
 	dh_installexamples
 	find $(TMP)/usr/share/doc/$(PACKAGE)/examples -type f -print0 | \

-- 
Debian packaging of libopengl-perl



More information about the Pkg-perl-cvs-commits mailing list