diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2007-03-25 20:22:56 +0200 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2007-03-25 20:22:56 +0200 |
commit | a6bd6fcd55faf118afd17328846c697d4b115315 (patch) | |
tree | f0bb27943b38d3c9b9e8d6188c3c04bbf8fb48a9 /tests/r300.tests | |
parent | 42dd1e8493690273fbb00533318cbb911dabb3c2 (diff) |
Refactoring
Diffstat (limited to 'tests/r300.tests')
-rw-r--r-- | tests/r300.tests | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/r300.tests b/tests/r300.tests index 1f2547c7..ae401857 100644 --- a/tests/r300.tests +++ b/tests/r300.tests @@ -3,7 +3,14 @@ # Testing the r300 DRI driver # -execfile(__dir__ + '/all.tests') +import os + +execfile(os.path.dirname(__file__) + '/all.tests') + +from framework.core import * +from framework.gleantest import * + + # Potentially serious problem, but workaround for now GleanTest.globalParams += [ '--visuals', 'id != 0x4b' ] @@ -15,12 +22,12 @@ Test.ignoreErrors.append('Try R300_SPAN_DISABLE_LOCKING env var if this hangs.') # glean/blendFunc # R300 blending hardware appears to be bad -env = tests['glean']['blendFunc'].env +env = profile.tests['glean']['blendFunc'].env env['GLEAN_BLEND_RGB_TOLERANCE'] = 1.9 env['GLEAN_BLEND_ALPHA_TOLERANCE'] = 2.0 # glean/exactRGBA # insane OpenGL spec requirements -env = tests['glean']['exactRGBA'].env +env = profile.tests['glean']['exactRGBA'].env env['GLEAN_EXACTRGBA_ROUNDING'] = 1 |