This fixes the opencv tests with the all_cl.py profile with the
latest opencv 2.4 branch.
---
 framework/opencv.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/opencv.py b/framework/opencv.py
index 6e77700..595e556 100644
--- a/framework/opencv.py
+++ b/framework/opencv.py
@@ -69,7 +69,7 @@ def add_opencv_tests(profile, individual = False):
             continue
 
         # Test names are indent by 2 spaces
-        m = re.match('  (.+)', line)
+        m = re.match('  ([^ ]+)', line)
         if m:
             test_name = m.group(1)
             profile.tests['{}/{}'.format(full_test_name,test_name)] = \
-- 
1.8.1.4


_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to