fix(test): fix filter option dot escape by setting regexp string (#6509)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user