@@ -150,11 +150,17 @@ def generate_coverage_summary_json(self):
150150 def generate_coverage_report (self ):
151151 """Generates the coverage report and stores in bucket."""
152152 command = [
153- 'llvm-cov' , 'show' , '-format=html' ,
153+ 'llvm-cov' ,
154+ 'show' ,
155+ '-format=html' ,
154156 f'-path-equivalence=/,{ self .source_files_dir } ' ,
155- f'-output-dir={ self .report_dir } ' , '-Xdemangler' , 'c++filt' ,
156- '-Xdemangler' , '-n' , self .binary_file ,
157- f'-instr-profile={ self .merged_profdata_file } '
157+ f'-output-dir={ self .report_dir } ' ,
158+ '-Xdemangler' ,
159+ 'c++filt' ,
160+ '-Xdemangler' ,
161+ '-n' ,
162+ self .binary_file ,
163+ f'-instr-profile={ self .merged_profdata_file } ' ,
158164 ]
159165 result = new_process .execute (command , expect_zero = False )
160166 if result .retcode != 0 :
@@ -258,9 +264,14 @@ def generate_json_summary(coverage_binary,
258264 """Generates the json summary file from |coverage_binary|
259265 and |profdata_file|."""
260266 command = [
261- 'llvm-cov' , 'export' , '-format=text' , '-num-threads=1' ,
262- '-region-coverage-gt=0' , '-skip-expansions' , coverage_binary ,
263- f'-instr-profile={ profdata_file } '
267+ 'llvm-cov' ,
268+ 'export' ,
269+ '-format=text' ,
270+ '-num-threads=1' ,
271+ '-region-coverage-gt=0' ,
272+ '-skip-expansions' ,
273+ coverage_binary ,
274+ f'-instr-profile={ profdata_file } ' ,
264275 ]
265276
266277 if summary_only :
0 commit comments