From 172c58d17cef75fd8b6850609de4f074c8bcdd98 Mon Sep 17 00:00:00 2001 From: steniu01 Date: Thu, 31 Aug 2017 13:49:08 +0100 Subject: COMPMID-345 Fix the failure counter wrongly logging issue Change-Id: Ic917b0361e602fadb8dbff69c6bec5582d6b261d Reviewed-on: http://mpd-gerrit.cambridge.arm.com/85956 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- tests/framework/printers/PrettyPrinter.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/framework/printers/PrettyPrinter.cpp') diff --git a/tests/framework/printers/PrettyPrinter.cpp b/tests/framework/printers/PrettyPrinter.cpp index ec32e5296e..b0892a4a50 100644 --- a/tests/framework/printers/PrettyPrinter.cpp +++ b/tests/framework/printers/PrettyPrinter.cpp @@ -96,6 +96,11 @@ void PrettyPrinter::print_errors_footer() { } +void PrettyPrinter::print_info(const std::string &info) +{ + *_stream << begin_color("1") << "INFO: " << info << end_color() << "\n"; +} + void PrettyPrinter::print_error(const std::exception &error) { *_stream << begin_color("1") << "ERROR: " << error.what() << end_color() << "\n"; -- cgit v1.2.1