[Piglit] [Patch v2 11/13] tests/r300.py: use import instead of execfile
Dylan Baker
baker.dylan.c at gmail.com
Wed Jan 8 16:25:09 PST 2014
Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
tests/r300.py | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/tests/r300.py b/tests/r300.py
index e7c2209..32f940e 100644
--- a/tests/r300.py
+++ b/tests/r300.py
@@ -2,14 +2,10 @@
# Testing the r300 DRI driver
#
-import os.path
+from tests.quick import profile
__all__ = ['profile']
-global profile
-
-execfile(os.path.dirname(__file__) + '/quick.tests')
-
# glean/blendFunc
# R300 blending hardware appears to be bad
env = profile.tests['glean']['blendFunc'].env
--
1.8.5.2
More information about the Piglit
mailing list