aboutsummaryrefslogtreecommitdiff
path: root/tests/main.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2017-11-14 11:31:04 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitfa330439b88af04f96c23b75e36a5a7813b89711 (patch)
tree0a08202b0d92011549b9591214dd4764e83a19dd /tests/main.cpp
parente75a02b60736f37c34388c23c0ccee230f65da59 (diff)
downloadComputeLibrary-fa330439b88af04f96c23b75e36a5a7813b89711.tar.gz
COMPMID-556: Fix double pretty printer registration.
Change-Id: I5f9658fee9175140d602e1ba516a67d4c83c6d87 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/95671 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Diffstat (limited to 'tests/main.cpp')
-rw-r--r--tests/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.cpp b/tests/main.cpp
index 70c7b6cb6d..3fb85122c4 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -165,7 +165,7 @@ int main(int argc, char **argv)
std::vector<std::unique_ptr<framework::Printer>> printers;
std::vector<std::shared_ptr<std::ofstream>> log_streams;
- if(pretty_console->value() && !(log_file->is_set() || log_format->value() != framework::LogFormat::PRETTY))
+ if(pretty_console->value() && (log_file->is_set() || log_format->value() != framework::LogFormat::PRETTY))
{
auto pretty_printer = support::cpp14::make_unique<framework::PrettyPrinter>();
pretty_printer->set_color_output(color_output->value());