Commit 57c8850 1 parent c01bca0 commit 57c8850 Copy full SHA for 57c8850
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def store_report(report)
27
27
File . write ( output_file , report . to_s )
28
28
end
29
29
30
- def grouped_coverage_files
30
+ def grouped_coverage_files ( coverage_files )
31
31
groups = Hash . new
32
32
coverage_files . each do |coverage_file |
33
33
next if coverage_file == nil
@@ -55,7 +55,7 @@ def create_xml_report(coverage_files)
55
55
packages_node = @doc . at_css "packages"
56
56
57
57
# group files by path
58
- grouped_coverage_files . each do |path , package_coverage_files |
58
+ grouped_coverage_files ( coverage_files ) . each do |path , package_coverage_files |
59
59
package_node = Nokogiri ::XML ::Node . new "package" , @doc
60
60
package_node . parent = packages_node
61
61
classes_node = Nokogiri ::XML ::Node . new "classes" , @doc
Original file line number Diff line number Diff line change @@ -165,8 +165,8 @@ def profdata_llvm_cov_output
165
165
raise StandardError , "No binary file found. Please help slather by adding the \" scheme\" argument"
166
166
end
167
167
168
- puts "Processing coverage file: #{ profdata_file_arg } "
169
- puts "Against binary file: #{ binary_file_arg } "
168
+ puts "\n Processing coverage file: #{ profdata_file_arg } "
169
+ puts "Against binary file: #{ binary_file_arg } \n \n "
170
170
171
171
llvm_cov_args = %W( show -instr-profile #{ profdata_file_arg } #{ binary_file_arg } )
172
172
`xcrun llvm-cov #{ llvm_cov_args . shelljoin } `
You can’t perform that action at this time.
0 commit comments