[Libreoffice-commits] core.git: bin/check-missing-unittests.py

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Sun Feb 7 18:15:25 UTC 2021


 bin/check-missing-unittests.py |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 7b75325bf0b7ecb68ea4b53a74bee7650cef9547
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Sun Feb 7 17:58:17 2021 +0100
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Sun Feb 7 19:14:45 2021 +0100

    check-missing-unittests: show priority of each bug
    
    Change-Id: I104fe6b7d82f224c340fcd95e3ffe52d7397919f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110540
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

diff --git a/bin/check-missing-unittests.py b/bin/check-missing-unittests.py
index 847aa524f1ad..33a6e36d67c1 100755
--- a/bin/check-missing-unittests.py
+++ b/bin/check-missing-unittests.py
@@ -180,17 +180,19 @@ def main(ignoredBugs):
 
                 status = ''
                 keywords = []
+                priority = ''
                 for bug in bugzillaJson:
                     if str(bug['id']) == str(bugId):
                         status = bug['status']
                         keywords = bug['keywords']
+                        priority = bug['priority']
                         break
 
                 #Ignore open bugs and performance bugs
                 if status and not isOpen(status) and 'perf' not in keywords:
                     print(
-                        "# {} - {} - [https://bugs.documentfoundation.org/show_bug.cgi?id={} tdf#{}]".format(
-                        info[0], info[1], bugId, bugId))
+                        "# {} - [{}] {} - [https://bugs.documentfoundation.org/show_bug.cgi?id={} tdf#{}]".format(
+                        info[0], priority.upper(), info[1], bugId, bugId))
 
     print('\n== ignored bugs ==')
     print(' '.join(ignoredBugs))


More information about the Libreoffice-commits mailing list