[Libreoffice-commits] core.git: bin/find-unneeded-includes

Gabor Kelemen kelemeng at ubuntu.com
Wed May 23 07:26:46 UTC 2018


 bin/find-unneeded-includes |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9b2136fb7124934a8869a4d72cf7bf86db503935
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date:   Sat May 19 07:34:51 2018 +0200

    find-unneeded-includes: Make the output user friendlier
    
    This way it's easy to copy-paste the problematic command
    for further investigation of IWYUs proposals
    
    Change-Id: I9e7403f0f05e64e562441941f00127a62bf15265
    Reviewed-on: https://gerrit.libreoffice.org/54560
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index 7cc933ff6c9a..b4a2a89e0377 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -165,7 +165,7 @@ def run_tool(task_queue, failed_files):
             p = subprocess.Popen(invocation, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
             retcode = processIWYUOutput(p.communicate()[0].decode('utf-8').splitlines(), moduleRules)
             if retcode != 0:
-                print("ERROR: '" + invocation + "' found unused includes.")
+                print("ERROR: The following command found unused includes:\n" + invocation)
                 failed_files.append(invocation)
         task_queue.task_done()
 


More information about the Libreoffice-commits mailing list