From 869e90e12a22728bdad063d28889113ccfca14af Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Thu, 10 Aug 2017 14:32:25 -0700 Subject: [PATCH] Don't fail coverage reporting due to parse errors. --- test/runner/lib/cover.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runner/lib/cover.py b/test/runner/lib/cover.py index 432a9406cb9..9e79ea59fd6 100644 --- a/test/runner/lib/cover.py +++ b/test/runner/lib/cover.py @@ -169,7 +169,7 @@ def command_coverage_html(args): dir_name = 'test/results/reports/%s' % os.path.basename(output_file) env = common_environment() env.update(dict(COVERAGE_FILE=output_file)) - run_command(args, env=env, cmd=['coverage', 'html', '-d', dir_name]) + run_command(args, env=env, cmd=['coverage', 'html', '-i', '-d', dir_name]) def command_coverage_xml(args): @@ -182,7 +182,7 @@ def command_coverage_xml(args): xml_name = 'test/results/reports/%s.xml' % os.path.basename(output_file) env = common_environment() env.update(dict(COVERAGE_FILE=output_file)) - run_command(args, env=env, cmd=['coverage', 'xml', '-o', xml_name]) + run_command(args, env=env, cmd=['coverage', 'xml', '-i', '-o', xml_name]) def command_coverage_erase(args):