[Piglit] [PATCH 10/10] opencv.py: use grouptools module
Dylan Baker
baker.dylan.c at gmail.com
Thu Dec 4 15:10:07 PST 2014
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
framework/test/opencv.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/framework/test/opencv.py b/framework/test/opencv.py
index 4a8a9a7..eee8079 100644
--- a/framework/test/opencv.py
+++ b/framework/test/opencv.py
@@ -26,8 +26,10 @@ from __future__ import print_function
import re
import subprocess
from os import path
+
from .gtest import GTest
from framework.core import PIGLIT_CONFIG
+import framework.grouptools as grouptools
__all__ = [
'OpenCVTest',
@@ -77,5 +79,5 @@ def add_opencv_tests(profile):
m = re.match(' ([^ ]+)', line)
if m:
test_name = m.group(1)
- profile.tests['{}/{}'.format(full_test_name,test_name)] = \
+ profile.tests[grouptools.join(full_test_name, test_name)] = \
OpenCVTest(opencv_test_ocl, '{}{}'.format(group_name ,test_name))
--
2.2.0
More information about the Piglit
mailing list