[Piglit] [PATCH 23/24] sanity.py: use grouptools.join instead of hardcoded '/' for groups

Dylan Baker baker.dylan.c at gmail.com
Mon Jan 5 13:50:44 PST 2015


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

diff --git a/tests/sanity.py b/tests/sanity.py
index 6a65348..2cc47de 100644
--- a/tests/sanity.py
+++ b/tests/sanity.py
@@ -2,6 +2,7 @@
 # Minimal tests to check whether the installation is working
 #
 
+from framework import grouptools
 from framework.profile import TestProfile
 from framework.test import PiglitGLTest
 
@@ -9,5 +10,5 @@ __all__ = ['profile']
 
 profile = TestProfile()
 
-profile.tests['spec/!OpenGL 1.0/gl-1.0-readpixsanity'] = \
+profile.tests[grouptools.join('spec', '!OpenGL 1.0', 'gl-1.0-readpixsanity')] = \
     PiglitGLTest(['gl-1.0-readpixsanity'], run_concurrent=True)
-- 
2.2.1



More information about the Piglit mailing list