From 852813417f07a88b7504bcbcfbebb2d0d2e181ec Mon Sep 17 00:00:00 2001 From: Pablo Marquez Tello Date: Wed, 14 Feb 2024 17:27:09 +0000 Subject: Fix validation suite on WoA * The missing parser option caused a segfault in the validation tests. * Resolves MLCE-1209 Change-Id: I59621241bb66f300c0c581741727f3abf0dbe43e Signed-off-by: Pablo Marquez Tello Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/11139 Tested-by: Arm Jenkins Reviewed-by: Gunes Bayir Benchmark: Arm Jenkins Comments-Addressed: Arm Jenkins --- tests/framework/command_line/CommonOptions.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/framework/command_line/CommonOptions.cpp b/tests/framework/command_line/CommonOptions.cpp index e56366c9ab..e6f1929bb1 100644 --- a/tests/framework/command_line/CommonOptions.cpp +++ b/tests/framework/command_line/CommonOptions.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020 Arm Limited. + * Copyright (c) 2018-2020,2024 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -47,6 +47,8 @@ CommonOptions::CommonOptions(CommandLineParser &parser) throw_errors(parser.add_option("throw-errors")), #if !defined(_WIN64) color_output(parser.add_option("color-output", isatty(STDOUT_FILENO))), // Only enable colors by default if we're running in a terminal +#else // !defined(_WIN64) + color_output(parser.add_option("color-output", 0)), #endif // !defined(_WIN64) pretty_console(parser.add_option("pretty-console", false)), json_file(parser.add_option>("json-file")), -- cgit v1.2.1