From bc8fb0634339dfd662f4b2d825f74615b8a69bac Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Thu, 16 Nov 2017 14:00:03 +0000 Subject: 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 Tested-by: Kaizen --- tests/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/main.cpp') 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>("assets"); assets->set_help("Path to the assets directory"); - auto pretty_console = parser.add_option("pretty-console", true); + auto pretty_console = parser.add_option("pretty-console", false); pretty_console->set_help("Produce pretty output on the console"); auto json_file = parser.add_option>("json-file"); json_file->set_help("Write output to a json file."); -- cgit v1.2.1