runtests: insist on a <keywords> section

Since all present tests now have <keywords> listed, this script will now
refuse to run a given test case if no such section is provided.
Hopefully this will help us make sure new test cases get keywords added
at start.
This commit is contained in:
Daniel Stenberg 2014-04-03 11:33:41 +02:00
parent 1432b22e62
commit d73d633885

View File

@ -3014,6 +3014,11 @@ sub singletest {
my @keywords = getpart("info", "keywords");
my $match;
my $k;
if(!$keywords[0]) {
$why = "missing the <keywords> section!";
}
for $k (@keywords) {
chomp $k;
if ($disabled_keywords{$k}) {