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:
parent
1432b22e62
commit
d73d633885
@ -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}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user