summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-05-09 16:42:03 +0700
committerhathach <[email protected]>2013-05-09 16:42:03 +0700
commitee27c783e2602b6ba3aa2195fe2d59ba80310d84 (patch)
tree17323e9dfbeee14229921bd9ae858ddc868ab83d /tests
parent5fbbddc56a6d29c90196eb28d4a2708c190f2219 (diff)
test ansi sequence color in ruby script when test failed
Diffstat (limited to 'tests')
-rw-r--r--tests/vendor/ceedling/lib/defaults.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vendor/ceedling/lib/defaults.rb b/tests/vendor/ceedling/lib/defaults.rb
index 6254a64f9..7b8ba678d 100644
--- a/tests/vendor/ceedling/lib/defaults.rb
+++ b/tests/vendor/ceedling/lib/defaults.rb
@@ -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