[Piglit] [PATCH v4 1/27] framework/result: TestrunResult.options should be a dict
Dylan Baker
dylan at pnwbakers.com
Wed Nov 9 20:53:13 UTC 2016
This changes the default type from None to a dict, which is what it is
when setup in framework/programs/run.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
framework/results.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/results.py b/framework/results.py
index 3c2bb2a..1a73c11 100644
--- a/framework/results.py
+++ b/framework/results.py
@@ -295,7 +295,7 @@ class TestrunResult(object):
def __init__(self):
self.name = None
self.uname = None
- self.options = None
+ self.options = {}
self.glxinfo = None
self.wglinfo = None
self.clinfo = None
--
git-series 0.8.10
More information about the Piglit
mailing list