From: Ian Romanick <[email protected]>

All my scripts use uppercase names to generate names for results files.

Signed-off-by: Ian Romanick <[email protected]>
---
 run.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run.c b/run.c
index 69fe23d..aa26946 100644
--- a/run.c
+++ b/run.c
@@ -395,7 +395,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;
                 }
-- 
2.9.5

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to