[libconfig-model-dpkg-perl] 02/02: Dpkg::Source: 'cme migrate' sets TestSuite to autopkgtest-pkg-perl for pkg-perl team packages

dod at debian.org dod at debian.org
Mon Oct 20 11:40:46 UTC 2014


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

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 209e9e1bcd8401c55ef3b9d5f0b02c114bc794d3
Author: Dominique Dumont <dod at debian.org>
Date:   Mon Oct 20 13:39:39 2014 +0200

    Dpkg::Source: 'cme migrate' sets TestSuite to autopkgtest-pkg-perl for pkg-perl team packages
---
 lib/Config/Model/models/Dpkg/Control/Source.pl | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index 1afcb39..20a3c9c 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -92,6 +92,14 @@ area/section if the package is in the contrib or non-free archive areas.
       },
       'Testsuite',
       {
+        'compute' => {
+          'allow_override' => '1',
+          'formula' => '$team =~ /pkg-perl/ ? \'autopkgtest-pkg-perl\' : undef;',
+          'use_eval' => '1',
+          'variables' => {
+            'team' => '- Maintainer'
+          }
+        },
         'description' => 'Enable a testsuite to be used with this package. For more details see L<README.package-tests.rst|https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/plain/doc/README.package-tests.rst>',
         'migrate_from' => {
           'formula' => '$xs_testsuite',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



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