[Piglit] [PATCH] opencv: Fix parsing of test names

Tom Stellard thomas.stellard at amd.com
Mon Mar 10 07:39:27 PDT 2014


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




More information about the Piglit mailing list