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:
parent
9f4c1c0cce
commit
61630a155e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user