Currently there is a function that in some cases could return '', but
the output is assumed to be a list. This patch ensures that it always
returns a list.
---
 tests/igt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/igt.py b/tests/igt.py
index 4d76636..55b0f4a 100644
--- a/tests/igt.py
+++ b/tests/igt.py
@@ -112,7 +112,7 @@ def listTests(listname):
         lines = (line.rstrip() for line in f.readlines())
 
     found_header = False
-    progs = ""
+    progs = []
 
     for line in lines:
         if found_header:
-- 
2.2.1

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

Reply via email to