[libconfig-model-dpkg-perl] 01/06: Control model: added support for XS-Testsuite (Thanks Stig) (Closes: #721663)

dod at debian.org dod at debian.org
Sat Sep 7 17:23:07 UTC 2013


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 a36f395d3c60d8b34de729b3ddbb8d647797c463
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Sep 7 19:06:46 2013 +0200

    Control model: added support for XS-Testsuite (Thanks Stig) (Closes: #721663)
---
 lib/Config/Model/models/Dpkg/Control/Source.pl |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index a4e90f3..0c60f29 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -78,6 +78,20 @@ area/section if the package is in the contrib or non-free archive areas.
 
 '
       },
+      'XS-Testsuite',
+      {
+        'value_type' => 'uniline',
+        'description' => 'Enable a testsuite to be used with this package',
+        'summary' => 'The name of the testsuite',
+        'type' => 'leaf',
+        'default' => 'autopkgtest',
+        'warn_unless_match' => {
+          '^autopkgtest$' => {
+            'msg' => 'Currently, only "autopkgtest" is supported',
+            'fix' => '$_ = undef; # restore default value'
+          }
+        }
+      },
       'XS-Autobuild',
       {
         'default' => '0',

-- 
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