From 98c74ff2bc42858998dc634c165b31d6b755e34e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 26 Oct 2020 08:58:05 +0100 Subject: 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. --- tests/runtests.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/runtests.pl b/tests/runtests.pl index c83b833a9..4bcf61bbf 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) { -- cgit v1.2.1