[Piglit] [Patch v2 09/13] quick.tests: Make quick.tests import all.tests

Dylan Baker baker.dylan.c at gmail.com
Wed Jan 8 16:25:07 PST 2014


Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 tests/quick.py | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/tests/quick.py b/tests/quick.py
index 0f8c7f3..939aded 100644
--- a/tests/quick.py
+++ b/tests/quick.py
@@ -1,15 +1,11 @@
 # -*- coding: utf-8 -*-
 
-import os.path
-
-global profile
 from framework.gleantest import GleanTest
+from tests.all import profile
 
 __all__ = ['profile']
 
-GleanTest.globalParams += [ "--quick" ]
-
-execfile(os.path.dirname(__file__) + '/all.py')
+GleanTest.globalParams += ["--quick"]
 
 # These take too long
 del profile.tests['shaders']['glsl-fs-inline-explosion']
-- 
1.8.5.2



More information about the Piglit mailing list