summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Control
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 /scripts/Dpkg/Control
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.
Diffstat (limited to 'scripts/Dpkg/Control')
-rw-r--r--scripts/Dpkg/Control/FieldsCore.pm6
1 files changed, 5 insertions, 1 deletions
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() => [