[libconfig-model-dpkg-perl] 04/04: added test for XS-Autobuild flag
dod at debian.org
dod at debian.org
Fri Aug 23 16:19:01 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 85f02041d1319794944756156ebd4a69e6954249
Author: Dominique Dumont <dod at debian.org>
Date: Fri Aug 23 18:18:28 2013 +0200
added test for XS-Autobuild flag
---
t/model_tests.d/dpkg-control-examples/non-free | 27 ++++++++++++++++++++++++
t/model_tests.d/dpkg-control-test-conf.pl | 8 +++++++
2 files changed, 35 insertions(+)
diff --git a/t/model_tests.d/dpkg-control-examples/non-free b/t/model_tests.d/dpkg-control-examples/non-free
new file mode 100644
index 0000000..658d396
--- /dev/null
+++ b/t/model_tests.d/dpkg-control-examples/non-free
@@ -0,0 +1,27 @@
+Source: libfoo
+Priority: optional
+Section: non-free/libs
+Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers at lists.alioth.debian.org>
+Uploaders: Barry deFreese <bdefreese at debian.org>,
+ Felix Geyer <debfx-pkg at fobos.de>,
+ Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
+Standards-Version: 3.9.4
+Build-Depends: debhelper (>= 9),
+ dh-autoreconf,
+ dpkg-dev (>= 1.16.1~),
+Vcs-Git: git://anonscm.debian.org/pkg-sdl/packages/libsdl1.2.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-sdl/packages/libsdl1.2.git
+Homepage: http://www.libsdl.org/
+XS-Autobuild: yes
+
+Package: libfoo
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Simple DirectMedia Layer
+ SDL is a library that allows programs portable low level access to
+ a video framebuffer, audio output, mouse, and keyboard.
+ .
+ This version of SDL is compiled with X11, caca and DirectFB graphics
+ drivers and OSS, ALSA, NAS and PulseAudio sound drivers.
diff --git a/t/model_tests.d/dpkg-control-test-conf.pl b/t/model_tests.d/dpkg-control-test-conf.pl
index 15ef962..45630fa 100644
--- a/t/model_tests.d/dpkg-control-test-conf.pl
+++ b/t/model_tests.d/dpkg-control-test-conf.pl
@@ -145,6 +145,14 @@ providing the following file:
name => 'built-using',
load_warnings => [ qr/DM-Upload/ ],
},
+ {
+ # test for #719753, XS-Autobuild field
+ name => 'non-free',
+ check => {
+ 'source Section' => 'non-free/libs',
+ 'source XS-Autobuild' => 'yes',
+ },
+ },
);
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