fix(test): fix filter option dot escape by setting regexp string (#6509)

This commit is contained in:
Lorenzo Arena
2024-07-15 18:53:01 +02:00
committed by GitHub
parent 0952087285
commit 622346575e

View File

@@ -139,7 +139,7 @@ def generate_code_coverage_report():
cmd = ['gcovr', '--root', root_dir, '--html-details', '--output',
html_report_file, '--xml', 'report/coverage.xml',
'-j', str(os.cpu_count()), '--print-summary',
'--html-title', 'LVGL Test Coverage', '--filter', '../src/.*/lv_.*\.c']
'--html-title', 'LVGL Test Coverage', '--filter', r'../src/.*/lv_.*\.c']
subprocess.check_call(cmd)
print("Done: See %s" % html_report_file, flush=True)