summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-01-04 16:20:17 +0100
committerGuillem Jover <guillem@debian.org>2014-01-15 15:02:15 +0100
commit3e625372f43daf4b51219629bed9b1bd437c23f0 (patch)
tree33bd145314be93bea3506a6bd34585b99ac28dc5
parentf1084f41e1d697fae5e1f0f105cd566d9eff0c7b (diff)
downloaddpkg-3e625372f43daf4b51219629bed9b1bd437c23f0.tar.gz
Dpkg::Control::FieldsCore: Add support for Testsuite source field
This field is used to specify what type of test suite is present in the source package. The values within are comma separated.
-rw-r--r--debian/changelog1
-rw-r--r--scripts/Dpkg/Control/FieldsCore.pm6
2 files changed, 6 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 49ac2f6c8..ace62f381 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,7 @@ dpkg (1.17.6) UNRELEASED; urgency=low
* Allow updating checksums in Dpkg::Checksums without erroring out.
* Add shell hooks support to dpkg-buildpackage, based on the debuild
implementation in devscripts 2.13.9. Closes: #476221
+ * Add support for Testsuite source field.
[ Updated dpkg translations ]
* Swedish (Peter Krefting).
diff --git a/scripts/Dpkg/Control/FieldsCore.pm b/scripts/Dpkg/Control/FieldsCore.pm
index 1ae32086f..568716518 100644
--- a/scripts/Dpkg/Control/FieldsCore.pm
+++ b/scripts/Dpkg/Control/FieldsCore.pm
@@ -277,6 +277,10 @@ our %FIELDS = (
'Task' => {
allowed => ALL_PKG,
},
+ 'Testsuite' => {
+ allowed => ALL_SRC,
+ separator => FIELD_SEP_COMMA,
+ },
'Triggers-Awaited' => {
allowed => CTRL_FILE_STATUS,
separator => FIELD_SEP_SPACE,
@@ -350,7 +354,7 @@ our %FIELD_ORDER = (
qw(Format Source Binary Architecture Version Origin Maintainer
Uploaders Homepage Standards-Version Vcs-Browser
Vcs-Arch Vcs-Bzr Vcs-Cvs Vcs-Darcs Vcs-Git Vcs-Hg Vcs-Mtn
- Vcs-Svn), &field_list_src_dep(), qw(Package-List),
+ Vcs-Svn Testsuite), &field_list_src_dep(), qw(Package-List),
@checksum_fields, qw(Files)
],
CTRL_FILE_CHANGES() => [