diff options
author | Pablo Marquez Tello <pablo.tello@arm.com> | 2024-02-14 17:27:09 +0000 |
---|---|---|
committer | Pablo Marquez Tello <pablo.tello@arm.com> | 2024-02-15 11:12:48 +0000 |
commit | 852813417f07a88b7504bcbcfbebb2d0d2e181ec (patch) | |
tree | bff7462f5d94af233404fd9a0a120d40d5301290 /tests/framework/command_line/CommonOptions.cpp | |
parent | e37a863d7000ac2cbfe5c574ef3f2e6b233a129c (diff) | |
download | ComputeLibrary-852813417f07a88b7504bcbcfbebb2d0d2e181ec.tar.gz |
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 <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/11139
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/framework/command_line/CommonOptions.cpp')
-rw-r--r-- | tests/framework/command_line/CommonOptions.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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<ToggleOption>("throw-errors")), #if !defined(_WIN64) color_output(parser.add_option<ToggleOption>("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<ToggleOption>("color-output", 0)), #endif // !defined(_WIN64) pretty_console(parser.add_option<ToggleOption>("pretty-console", false)), json_file(parser.add_option<SimpleOption<std::string>>("json-file")), |