projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1432b22
)
runtests: insist on a <keywords> section
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 3 Apr 2014 09:33:41 +0000
(11:33 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 3 Apr 2014 09:33:41 +0000
(11:33 +0200)
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.
tests/runtests.pl
patch
|
blob
|
history
diff --git
a/tests/runtests.pl
b/tests/runtests.pl
index
2178197
..
2b42505
100755
(executable)
--- 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}) {