[libconfig-model-dpkg-perl] 02/06: added tests for xs-testsuite (Thanks Stig)

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 6d3c0ef1b80613cbc536e6022a6410d973b63bb6
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Sep 7 19:07:30 2013 +0200

    added tests for xs-testsuite (Thanks Stig)
---
 t/model_tests.d/dpkg-control-examples/xs-testsuite |   17 +++++++++++++++++
 t/model_tests.d/dpkg-control-test-conf.pl          |    7 +++++++
 2 files changed, 24 insertions(+)

diff --git a/t/model_tests.d/dpkg-control-examples/xs-testsuite b/t/model_tests.d/dpkg-control-examples/xs-testsuite
new file mode 100644
index 0000000..65c2577
--- /dev/null
+++ b/t/model_tests.d/dpkg-control-examples/xs-testsuite
@@ -0,0 +1,17 @@
+Source: libfast-xs-ruby
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Bryan McLellan <btm at loftninjas.org>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.9.4
+Homepage: http://fast-xs.rubyforge.org/
+XS-Ruby-Versions: all
+XS-Testsuite: autopkgtest
+
+Package: libfast-xs-ruby
+Architecture: any
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: fast_xs provides C extensions for escaping text
+ fast_xs provides C extensions for escaping text...
diff --git a/t/model_tests.d/dpkg-control-test-conf.pl b/t/model_tests.d/dpkg-control-test-conf.pl
index 44b9f3f..b367fa7 100644
--- a/t/model_tests.d/dpkg-control-test-conf.pl
+++ b/t/model_tests.d/dpkg-control-test-conf.pl
@@ -161,6 +161,13 @@ providing the following file:
             'binary:libfast-xs-ruby XB-Ruby-Versions' => '${ruby:Versions}',
         },
     },
+    {
+        # test for XS-Testsuite field
+        name => 'xs-testsuite',
+        check => {
+            'source XS-Testsuite' => 'autopkgtest',
+        },
+    },
 );
 
 my $cache_file = 't/model_tests.d/dependency-cache.txt';

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