diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-04-03 11:33:41 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-04-03 11:33:41 +0200 |
commit | d73d633885db30ae9ae4bf331b60e223c774d8e2 (patch) | |
tree | 62c3b847f0b7c3ea9fa9a3a8ea55b0e39e6c5efa | |
parent | 1432b22e621afe7f466e3d7deef31699aedb6271 (diff) |
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.
-rwxr-xr-x | tests/runtests.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 217819794..2b4250589 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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}) { |