From: Daniel Stenberg Date: Mon, 26 Oct 2020 07:58:05 +0000 (+0100) Subject: runtests: show keywords when no tests ran X-Git-Tag: curl-7_74_0~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61630a155e1a81899ae99b1a5f284072606716e0;p=thirdparty%2Fcurl.git 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 --- diff --git a/tests/runtests.pl b/tests/runtests.pl index c83b833a92..4bcf61bbf0 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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) {