[Piglit] [PATCH] framework: decode arrays when parsing test run results

Paul Berry stereotype441 at gmail.com
Sat May 21 07:55:08 PDT 2011


When reading in test run results we were mistakenly not decoding
escape sequences inside arrays.  This resulted in occasional extra
backslashes in lists such as "errors" and "errors_ignored".
---
 framework/core.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/framework/core.py b/framework/core.py
index 502b324..ee56852 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -189,7 +189,7 @@ class TestrunResult:
 				if line == '!':
 					del stack[-1]
 				else:
-					a.append(line[1:])
+					a.append(decode(line[1:]))
 			return cb
 
 		def dictparser(d):
-- 
1.7.5.1



More information about the Piglit mailing list