summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-02-07 17:58:17 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2021-02-07 19:14:45 +0100
commit7b75325bf0b7ecb68ea4b53a74bee7650cef9547 (patch)
treedf2866e6975835fb7de46c4f093bbb3c33875726 /bin
parentd3b498cc4732f964919fecb265085cefcc422469 (diff)
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@libreoffice.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/check-missing-unittests.py6
1 files changed, 4 insertions, 2 deletions
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))