bin/list-uitest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit ad32bcdfa1cecb28abe934885df62bd6a49aa978 Author: Zdeněk Crhonek <[email protected]> Date: Wed Jan 3 20:14:24 2018 +0100 uitest - add folder uitest/manual_tests to script script for page https://wiki.documentfoundation.org/ListUiTests Change-Id: I0081a4e1229105ef7387e70d76a5670a4f5de691 Reviewed-on: https://gerrit.libreoffice.org/47340 Reviewed-by: Xisco Faulí <[email protected]> Tested-by: Xisco Faulí <[email protected]> diff --git a/bin/list-uitest.py b/bin/list-uitest.py index baecc41b89a0..8924a1f5daec 100755 --- a/bin/list-uitest.py +++ b/bin/list-uitest.py @@ -12,7 +12,7 @@ import datetime def analyze_file(filename): class_name = "" method_list = [] - with open(filename) as fh: + with open(filename, encoding='utf-8') as fh: for line in fh: if line.lstrip().startswith('class '): class_name = line.lstrip().split(" ")[1].split("(")[0] @@ -51,7 +51,8 @@ def main(): 'Calc' : ['../uitest/calc_tests', '../sc/qa/uitest/'], 'Impress' : ['../uitest/impress_tests/'], 'Math': ['../uitest/math_tests/'], - 'Draw': ['']} + 'Draw': [''], + 'Manual_tests': ['../uitest/manual_tests/']} print('{{TopMenu}}') print('{{Menu}}') _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
