[Piglit] [PATCH 2/2] deqp_gles3.py: use grouptools separator for test separators

Dylan Baker baker.dylan.c at gmail.com
Mon Mar 23 10:23:11 PDT 2015


This is an oversight in the previous set of patches.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 tests/deqp_gles3.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/deqp_gles3.py b/tests/deqp_gles3.py
index 409273b..97f9fb1 100644
--- a/tests/deqp_gles3.py
+++ b/tests/deqp_gles3.py
@@ -24,7 +24,7 @@ import subprocess
 import xml.etree.cElementTree as ET
 
 # Piglit modules
-import framework
+from framework import core, grouptools
 from framework.profile import Test, TestProfile
 
 __all__ = ['profile']
@@ -66,7 +66,7 @@ def get_option(env_varname, config_option):
         return opt
 
     try:
-        opt = framework.core.PIGLIT_CONFIG.get(config_option[0],
+        opt = core.PIGLIT_CONFIG.get(config_option[0],
                                                config_option[1])
     except ConfigParser.NoSectionError:
         pass
@@ -167,7 +167,7 @@ def add_tests():
 
     for deqp_testname in iter_deqp_test_cases():
         # dEQP uses '.' as the testgroup separator.
-        piglit_testname = deqp_testname.replace('.', '/')
+        piglit_testname = deqp_testname.replace('.', grouptools.SEPARATOR)
 
         test = DEQPTest(deqp_testname)
         profile.test_list[piglit_testname] = test
-- 
2.3.3



More information about the Piglit mailing list