[Piglit] [PATCH 3/7] gen_constant_array_size_tests.py: lowercase extension names in dir

Dylan Baker baker.dylan.c at gmail.com
Wed May 21 14:09:32 PDT 2014


This makes generated_tests/ consistent in naming with tests/

Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 generated_tests/gen_constant_array_size_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generated_tests/gen_constant_array_size_tests.py b/generated_tests/gen_constant_array_size_tests.py
index 99b15d0..3cba388 100644
--- a/generated_tests/gen_constant_array_size_tests.py
+++ b/generated_tests/gen_constant_array_size_tests.py
@@ -167,7 +167,7 @@ class ParserTest(object):
         argtype_names = '-'.join(
             str(argtype) for argtype in self.__signature.argtypes)
         if self.__signature.extension:
-            subdir = self.__signature.extension
+            subdir = self.__signature.extension.lower()
         else:
             subdir = 'glsl-{0:1.2f}'.format(float(self.glsl_version()) / 100)
         return os.path.join(
-- 
2.0.0.rc2



More information about the Piglit mailing list