mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 14:35:03 -05:00
runtests: show keywords when no tests ran
To help out future debugging, runtests now outputs the list of keywords when it fails because no tests ran. Ref: #6120 Closes #6126
This commit is contained in:
parent
9f4c1c0cce
commit
61630a155e
@ -5780,6 +5780,13 @@ if($total) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
logmsg "\nTESTFAIL: No tests were performed\n\n";
|
logmsg "\nTESTFAIL: No tests were performed\n\n";
|
||||||
|
if(scalar(keys %enabled_keywords)) {
|
||||||
|
logmsg "TESTFAIL: Nothing matched these keywords: ";
|
||||||
|
for(keys %enabled_keywords) {
|
||||||
|
logmsg "$_ ";
|
||||||
|
}
|
||||||
|
logmsg "\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($all) {
|
if($all) {
|
||||||
|
Loading…
Reference in New Issue
Block a user