[libsys-cpu-perl] 01/05: Enable autopkgtests
gregor herrmann
gregoa at debian.org
Sat May 21 13:21:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libsys-cpu-perl.
commit f4c9ed1afc960732720cbfbe97b211d1d004b885
Author: gregor herrmann <gregoa at debian.org>
Date: Sat May 21 15:15:49 2016 +0200
Enable autopkgtests
and make sure they run (only) the same test as the package build.
Closes: #824844
---
debian/control | 1 +
debian/rules | 4 +++-
debian/tests/pkg-perl/smoke-tests | 1 +
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 0db9bf5..b080308 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Standards-Version: 3.9.5
Homepage: https://metacpan.org/release/Sys-CPU
Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libsys-cpu-perl.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libsys-cpu-perl.git
+Testsuite: autopkgtest-pkg-perl
Package: libsys-cpu-perl
Architecture: any
diff --git a/debian/rules b/debian/rules
index cb2bb11..8fe0095 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,9 @@
#!/usr/bin/make -f
+TEST_FILES=$(shell cat debian/tests/pkg-perl/smoke-tests)
+
%:
dh $@
override_dh_auto_test:
- dh_auto_test -- TEST_FILES=t/Sys-CPU-Test-More.t
+ dh_auto_test -- TEST_FILES=$(TEST_FILES)
diff --git a/debian/tests/pkg-perl/smoke-tests b/debian/tests/pkg-perl/smoke-tests
new file mode 100644
index 0000000..91b2b9f
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-tests
@@ -0,0 +1 @@
+t/Sys-CPU-Test-More.t
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsys-cpu-perl.git
More information about the Pkg-perl-cvs-commits
mailing list