mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-15 21:40:18 +00:00
test ansi sequence color in ruby script when test failed
This commit is contained in:
parent
5fbbddc56a
commit
ee27c783e2
2
tests/vendor/ceedling/lib/defaults.rb
vendored
2
tests/vendor/ceedling/lib/defaults.rb
vendored
@ -345,7 +345,7 @@ DEFAULT_TESTS_RESULTS_REPORT_TEMPLATE = %q{
|
||||
<%=@ceedling[:plugin_reportinator].generate_banner(header_prepend + 'FAILED UNIT TEST SUMMARY')%>
|
||||
% hash[:results][:failures].each do |failure|
|
||||
% failure[:collection].each do |item|
|
||||
<%=failure[:source][:path]%><%=File::SEPARATOR%><%=failure[:source][:file]%>:<%=item[:line]%>:<%=item[:test]%>
|
||||
"\e[31m" <%=failure[:source][:path]%><%=File::SEPARATOR%><%=failure[:source][:file]%>:<%=item[:line]%>:<%=item[:test]%>
|
||||
% if (item[:message].length > 0)
|
||||
: "<%=item[:message]%>"
|
||||
% else
|
||||
|
Loading…
x
Reference in New Issue
Block a user