[Piglit] [RFC 25/30] sanity.py: Use TestProfile.group_manager
Dylan Baker
baker.dylan.c at gmail.com
Tue Jan 27 14:58:59 PST 2015
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
tests/sanity.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/sanity.py b/tests/sanity.py
index 2cc47de..ce42433 100644
--- a/tests/sanity.py
+++ b/tests/sanity.py
@@ -10,5 +10,7 @@ __all__ = ['profile']
profile = TestProfile()
-profile.tests[grouptools.join('spec', '!OpenGL 1.0', 'gl-1.0-readpixsanity')] = \
- PiglitGLTest(['gl-1.0-readpixsanity'], run_concurrent=True)
+with profile.group_manager(
+ PiglitGLTest,
+ grouptools.join('spec', '!OpenGL 1.0', 'gl-1.0-readpixsanity')) as g:
+ g(['gl-1.0-readpixsanity'], run_concurrent=True)
--
2.2.2
More information about the Piglit
mailing list