[Piglit] [RFC 29/30] opencv.py: use test_list instead of tests.

Dylan Baker baker.dylan.c at gmail.com
Tue Jan 27 14:59:03 PST 2015


Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/test/opencv.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/framework/test/opencv.py b/framework/test/opencv.py
index 2c3d627..3490c8a 100644
--- a/framework/test/opencv.py
+++ b/framework/test/opencv.py
@@ -68,7 +68,7 @@ def add_opencv_tests(profile):
             group_desc = group_name[:-1]
             full_test_name = 'opencv/{}'.format(group_desc)
             if not individual:
-                profile.tests[full_test_name] = OpenCVTest(opencv_test_ocl,
+                profile.test_list[full_test_name] = OpenCVTest(opencv_test_ocl,
                     '{}*'.format(group_name))
             continue
 
@@ -79,5 +79,5 @@ def add_opencv_tests(profile):
         m = re.match('  ([^ ]+)', line)
         if m:
             test_name = m.group(1)
-            profile.tests[grouptools.join(full_test_name, test_name)] = \
+            profile.test_list[grouptools.join(full_test_name, test_name)] = \
                 OpenCVTest(opencv_test_ocl, '{}{}'.format(group_name ,test_name))
-- 
2.2.2



More information about the Piglit mailing list