mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
16 lines
568 B
Plaintext
16 lines
568 B
Plaintext
|
% function_string = hash[:coverage][:functions].to_s
|
||
|
% branch_string = hash[:coverage][:branches].to_s
|
||
|
% format_string = "%#{[function_string.length, branch_string.length].max}i"
|
||
|
<%=@ceedling[:plugin_reportinator].generate_banner("#{BULLSEYE_ROOT_NAME.upcase}: CODE COVERAGE SUMMARY")%>
|
||
|
% if (!hash[:coverage][:functions].nil?)
|
||
|
FUNCTIONS: <%=sprintf(format_string, hash[:coverage][:functions])%>%
|
||
|
% else
|
||
|
FUNCTIONS: none
|
||
|
% end
|
||
|
% if (!hash[:coverage][:branches].nil?)
|
||
|
BRANCHES: <%=sprintf(format_string, hash[:coverage][:branches])%>%
|
||
|
% else
|
||
|
BRANCHES: none
|
||
|
% end
|
||
|
|