[Piglit] [RFC 1/9] results.py: initialize wglinfo member in TestrunResult initializer

Dylan Baker baker.dylan.c at gmail.com
Mon Apr 6 14:30:11 PDT 2015


We've always assumed wglinfo is valid, but we haven't initialized it
with the test, which we should.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/results.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/framework/results.py b/framework/results.py
index 497c1c2..5373e34 100644
--- a/framework/results.py
+++ b/framework/results.py
@@ -116,6 +116,7 @@ class TestrunResult(object):
         self.uname = None
         self.options = None
         self.glxinfo = None
+        self.wglinfo = None
         self.lspci = None
         self.time_elapsed = None
         self.results_version = CURRENT_JSON_VERSION
-- 
2.3.5



More information about the Piglit mailing list