[Piglit] [PATCH 1/2] summary/junit: Fix group splitting on Windows.
jfonseca at vmware.com
jfonseca at vmware.com
Thu Jun 5 12:20:00 PDT 2014
From: José Fonseca <jfonseca at vmware.com>
Because test paths end up having a mixture of backward and forward
slashes.
Trivial.
---
framework/programs/summary.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/programs/summary.py b/framework/programs/summary.py
index db3a83e..28fcffb 100644
--- a/framework/programs/summary.py
+++ b/framework/programs/summary.py
@@ -117,7 +117,7 @@ class _Writer:
self.report.stop()
def write_test(self, testrun, test_path, result):
- test_path = test_path.split('/')
+ test_path = test_path.replace('\\', '/').split('/')
test_name = test_path.pop()
self.enter_path(test_path)
--
1.9.1
More information about the Piglit
mailing list