[libtest-cleannamespaces-perl] 05/07: Add autopkgtest control file.

gregor herrmann gregoa at debian.org
Mon Sep 8 20:12:13 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libtest-cleannamespaces-perl.

commit 5a7a6fcdd2533f9c3e35216867bf31d576f55b65
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Sep 8 21:50:59 2014 +0200

    Add autopkgtest control file.
    
    Add debian/tests/lib/Foo/Bar.pm, otherwise all_namespaces_clean fails
    because it doesn't find any modules in {b,}lib/.
---
 debian/tests/control        | 8 ++++++++
 debian/tests/lib/Foo/Bar.pm | 1 +
 debian/tests/test-files     | 2 ++
 3 files changed, 11 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f39a179
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,8 @@
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner build-deps
+Depends: @, @builddeps@, pkg-perl-autopkgtest
+
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps
+Depends: @, pkg-perl-autopkgtest
+
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner heavy-deps
+Depends: @, pkg-perl-autopkgtest, pkg-perl-autopkgtest-heavy
diff --git a/debian/tests/lib/Foo/Bar.pm b/debian/tests/lib/Foo/Bar.pm
new file mode 100644
index 0000000..0afc604
--- /dev/null
+++ b/debian/tests/lib/Foo/Bar.pm
@@ -0,0 +1 @@
+1;
diff --git a/debian/tests/test-files b/debian/tests/test-files
new file mode 100644
index 0000000..89f8990
--- /dev/null
+++ b/debian/tests/test-files
@@ -0,0 +1,2 @@
+t
+debian/tests/lib

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtest-cleannamespaces-perl.git



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