From 749c84a7eac613dee8a9253da3c4b140bc0f63c1 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Tue, 27 Oct 2020 15:41:46 +0100 Subject: [PATCH] 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 --- bin/list-uitest.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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}}')