From 3e625372f43daf4b51219629bed9b1bd437c23f0 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 4 Jan 2014 16:20:17 +0100 Subject: 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. --- scripts/Dpkg/Control/FieldsCore.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/Dpkg') 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() => [ -- cgit v1.2.3