Commit d5aa5905 authored by Ian Romanick's avatar Ian Romanick

run: Use case independent matching for platform names

All my scripts use uppercase names to generate names for results files.
Signed-off-by: 's avatarIan Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
parent 4d273906
......@@ -457,7 +457,7 @@ main(int argc, char **argv)
case 'p': {
const struct platform *platform = NULL;
for (unsigned i = 0; i < ARRAY_SIZE(platforms); i++) {
if (strcmp(optarg, platforms[i].name) == 0) {
if (strcasecmp(optarg, platforms[i].name) == 0) {
platform = platforms + i;
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment