So don't treat it like one. Stops one test from being fast-skipped that
shouldn't be.
---
 framework/test/shader_test.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/framework/test/shader_test.py b/framework/test/shader_test.py
index 719b92f9d..e0124b410 100644
--- a/framework/test/shader_test.py
+++ b/framework/test/shader_test.py
@@ -85,8 +85,10 @@ class Parser(object):
                     "In file {}: Config block not found".format(self.filename))
 
         for line in lines:
-            if line.startswith('GL_') and not line.startswith('GL_MAX'):
-                self.gl_required.add(line.strip())
+            if line.startswith('GL_'):
+                line = line.strip()
+                if not (line.startswith('GL_MAX') or 
line.startswith('GL_NUM')):
+                    self.extensions.add(line)
                 continue
 
             # Find any GLES requirements.
-- 
2.18.0

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to