[Piglit] [PATCH 2/7] gen_builtin_uniform_tests.py: lowercase extensions names in dir name

Dylan Baker baker.dylan.c at gmail.com
Wed May 21 14:09:31 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_builtin_uniform_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generated_tests/gen_builtin_uniform_tests.py b/generated_tests/gen_builtin_uniform_tests.py
index 5ecfc87..7edd5cc 100644
--- a/generated_tests/gen_builtin_uniform_tests.py
+++ b/generated_tests/gen_builtin_uniform_tests.py
@@ -470,7 +470,7 @@ class ShaderTest(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