aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/printers/PrettyPrinter.cpp
diff options
context:
space:
mode:
authorsteniu01 <steven.niu@arm.com>2017-08-31 13:49:08 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit172c58d17cef75fd8b6850609de4f074c8bcdd98 (patch)
treeed1081b76c8eea526bb0968b2141983230a9df85 /tests/framework/printers/PrettyPrinter.cpp
parent64ebe5b392b8135ec939b63596ffb8567a3e3248 (diff)
downloadComputeLibrary-172c58d17cef75fd8b6850609de4f074c8bcdd98.tar.gz
COMPMID-345 Fix the failure counter wrongly logging issue
Change-Id: Ic917b0361e602fadb8dbff69c6bec5582d6b261d Reviewed-on: http://mpd-gerrit.cambridge.arm.com/85956 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/framework/printers/PrettyPrinter.cpp')
-rw-r--r--tests/framework/printers/PrettyPrinter.cpp5
1 files changed, 5 insertions, 0 deletions
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";