aboutsummaryrefslogtreecommitdiff
path: root/tests/main.cpp
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2017-11-16 14:00:03 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitbc8fb0634339dfd662f4b2d825f74615b8a69bac (patch)
tree4d44fc5d0a958a780cc20e58c2ca6ddd9c5fe7c8 /tests/main.cpp
parentaa29fdef732fa2e56943b982a8643d579d2f3714 (diff)
downloadComputeLibrary-bc8fb0634339dfd662f4b2d825f74615b8a69bac.tar.gz
COMPMID-556 Pretty-printing is enabled twice by default
Which means if someone specifies --log-file or changes --log-format then it will still output to the console. Setting back to the original behaviour: if --log-file or --log-format is specified then there is no dual output. The user need to explicitely ask for it by using --pretty-printer Change-Id: I1a7cd37fd78286a566de3ba1fa4bcb0522f24077 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/96095 Reviewed-by: Pablo Tello <pablo.tello@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@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 69d30af09c..00bfda1b37 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -145,7 +145,7 @@ int main(int argc, char **argv)
error_on_missing_assets->set_help("Mark a test as failed instead of skipping it when assets are missing");
auto assets = parser.add_positional_option<framework::SimpleOption<std::string>>("assets");
assets->set_help("Path to the assets directory");
- auto pretty_console = parser.add_option<framework::ToggleOption>("pretty-console", true);
+ auto pretty_console = parser.add_option<framework::ToggleOption>("pretty-console", false);
pretty_console->set_help("Produce pretty output on the console");
auto json_file = parser.add_option<framework::SimpleOption<std::string>>("json-file");
json_file->set_help("Write output to a json file.");