[Libreoffice-commits] core.git: bin/list-uitest.py

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 27 20:04:49 UTC 2020


 bin/list-uitest.py |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 749c84a7eac613dee8a9253da3c4b140bc0f63c1
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Tue Oct 27 15:41:46 2020 +0100
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Tue Oct 27 21:04:05 2020 +0100

    list-uitest: update pathes after rearrenging tests
    
    also change regex expression suggested by M. Kaganski
    
    Change-Id: I9a93d2ebe6f486fcbaa201a983ded2087446d823
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104889
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

diff --git a/bin/list-uitest.py b/bin/list-uitest.py
index f04517436348..5678fb346c49 100755
--- a/bin/list-uitest.py
+++ b/bin/list-uitest.py
@@ -38,7 +38,7 @@ def get_files_list(directory, extension):
     return array_items
 
 def linkFormat(name):
-    bugId = re.search(r'\d{6}|\d{5}', name)
+    bugId = re.search(r'\d{5,6}', name)
     if bugId:
         return "[https://bugs.documentfoundation.org/show_bug.cgi?id={} {}]"\
                 .format(bugId.group(), name)
@@ -49,12 +49,12 @@ def linkFormat(name):
 def main():
     uitest_ext = '.py'
     uitest_dirs = {
-            'Writer' : ['../uitest/writer_tests/', '../writerperfect/qa/uitest/', '../sw/qa/uitest/'],
-            'Calc' : ['../uitest/calc_tests', '../sc/qa/uitest/'],
+            'Writer' : ['../writerperfect/qa/uitest/', '../sw/qa/uitest/'],
+            'Calc' : ['../sc/qa/uitest/'],
             'Impress' : ['../uitest/impress_tests/', '../sd/qa/uitest/'],
             'Math': ['../uitest/math_tests/'],
-            'Draw': [''],
-            'Manual_tests': ['../uitest/manual_tests/']}
+            'Demo': ['../uitest/demo_ui/'],
+            'Draw': ['']}
 
     print('{{TopMenu}}')
     print('{{Menu}}')


More information about the Libreoffice-commits mailing list