gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 279/411: runtests: show keywords when no tests ran


From: gnunet
Subject: [gnurl] 279/411: runtests: show keywords when no tests ran
Date: Wed, 13 Jan 2021 01:21:34 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 61630a155e1a81899ae99b1a5f284072606716e0
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Mon Oct 26 08:58:05 2020 +0100

    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
---
 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) {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]