[Piglit] [PATCH 3/3] framework: Temporarily disable parsing GL/GLSL version from wflinfo.

Jose Fonseca jfonseca at vmware.com
Tue Dec 8 05:23:30 PST 2015


It's making many assumptions about the wflinfo output which are not
always true.

So completely disable it as a temporary workaround.
---
 framework/test/opengl.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/framework/test/opengl.py b/framework/test/opengl.py
index 29da2d1..fa17873 100644
--- a/framework/test/opengl.py
+++ b/framework/test/opengl.py
@@ -80,6 +80,12 @@ class WflInfo(object):
         opts -- arguments to pass to wflinfo other than verbose and platform
 
         """
+
+        # FIXME: The version parsing below makes assumptions about wflinfo
+        # output that are not always true.  Disable all wflinfo invocation
+        # until they are addressed
+        raise StopWflinfo('OSError')
+
         with open(os.devnull, 'w') as d:
             try:
                 raw = subprocess.check_output(
-- 
2.5.0



More information about the Piglit mailing list