1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -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:
Daniel Stenberg 2020-10-26 08:58:05 +01:00
parent 9f4c1c0cce
commit 61630a155e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -5780,6 +5780,13 @@ if($total) {
}
else {
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) {