aboutsummaryrefslogtreecommitdiff
path: root/tests/framework
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2017-12-01 14:16:54 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:41:58 +0000
commitb40879e15d51d8c56004a03df76ed012e3b1ea8a (patch)
tree4d72f829e51e940a234ca7015dafa1d7d183965f /tests/framework
parentfcd52fbc578a2f5e6a1df4c823284621cc55645a (diff)
downloadComputeLibrary-b40879e15d51d8c56004a03df76ed012e3b1ea8a.tar.gz
COMPMID-556: Preserve case-sensitivity of positional arguments
Change-Id: I14ab1c4c0a492fe89ccd9d1f7adbf97f43e3149e Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/111513 Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/framework')
-rw-r--r--tests/framework/command_line/CommandLineParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/framework/command_line/CommandLineParser.cpp b/tests/framework/command_line/CommandLineParser.cpp
index 11eb1f3a4d..09b466ce84 100644
--- a/tests/framework/command_line/CommandLineParser.cpp
+++ b/tests/framework/command_line/CommandLineParser.cpp
@@ -87,11 +87,11 @@ void CommandLineParser::parse(int argc, char **argv)
{
if(positional_index >= _positional_options.size())
{
- _invalid_options.push_back(option);
+ _invalid_options.push_back(mixed_case_opt);
}
else
{
- _positional_options[positional_index]->parse(option);
+ _positional_options[positional_index]->parse(mixed_case_opt);
++positional_index;
}
}