Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mesa
piglit
Commits
83283dd1
Commit
83283dd1
authored
Jul 05, 2008
by
Nicolai Hähnle
Browse files
Reorganize test profiles for Radeon family drivers
parent
9810d1ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
tests/r300.tests
View file @
83283dd1
...
...
@@ -6,44 +6,13 @@
import
os
import
re
execfile
(
os
.
path
.
dirname
(
__file__
)
+
'/
all
.tests'
)
execfile
(
os
.
path
.
dirname
(
__file__
)
+
'/
radeon
.tests'
)
from
framework.core
import
*
from
framework.gleantest
import
*
# Potentially serious problem, but workaround for now
GleanTest
.
globalParams
+=
[
'--visuals'
,
'id != 0x4b'
]
Test
.
ignoreErrors
.
append
(
re
.
compile
(
'3D driver claims to not support'
))
# Debug info
Test
.
ignoreErrors
.
append
(
re
.
compile
(
'Try R300_SPAN_DISABLE_LOCKING env var if this hangs.'
))
# Some window managers can be confusing for some of the tests because they
# send resize / move events that invalidate frame buffer contents.
# It would be nice to fix these things in a reliable way, but for now
# this workaround of waiting between tests helps...
Test
.
sleep
=
0.2
# glean/blendFunc
# R300 blending hardware appears to be bad
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
=
profile
.
tests
[
'glean'
][
'exactRGBA'
].
env
env
[
'GLEAN_EXACTRGBA_ROUNDING'
]
=
1
# Tests specific to r300
r300
=
Group
()
# Apparently, LOD calculations are off a little for small MIP levels.
# This test is a relaxed variant of the texturing/cubemap test.
# Its only purpose is to catch major regressions in cubemapping as long as we
# fail the real texturing/cubemap test.
r300
[
'cubemap-relax'
]
=
PlainExecTest
([
testBinDir
+
'cubemap'
,
'-auto'
,
'-r300relax'
])
profile
.
tests
[
'r300'
]
=
r300
tests/r500.tests
0 → 100644
View file @
83283dd1
#!/usr/bin/python
#
# Testing the r500 DRI driver
#
import
os
import
re
execfile
(
os
.
path
.
dirname
(
__file__
)
+
'/radeon.tests'
)
from
framework.core
import
*
from
framework.gleantest
import
*
# glean/blendFunc
# R500 blending hardware appears to be a bit better than R300
env
=
profile
.
tests
[
'glean'
][
'blendFunc'
].
env
env
[
'GLEAN_BLEND_RGB_TOLERANCE'
]
=
1.35
env
[
'GLEAN_BLEND_ALPHA_TOLERANCE'
]
=
1.35
tests/radeon.tests
0 → 100644
View file @
83283dd1
#!/usr/bin/python
#
# Testing drivers for Radeon hardware
#
import
os
import
re
execfile
(
os
.
path
.
dirname
(
__file__
)
+
'/all.tests'
)
from
framework.core
import
*
from
framework.gleantest
import
*
# Some window managers can be confusing for some of the tests because they
# send resize / move events that invalidate frame buffer contents.
# It would be nice to fix these things in a reliable way, but for now
# this workaround of waiting between tests helps...
Test
.
sleep
=
0.2
# glean/exactRGBA
# insane OpenGL spec requirements
env
=
profile
.
tests
[
'glean'
][
'exactRGBA'
].
env
env
[
'GLEAN_EXACTRGBA_ROUNDING'
]
=
1
# Tests specific to r300
r300
=
Group
()
# Apparently, LOD calculations are off a little for small MIP levels.
# This test is a relaxed variant of the texturing/cubemap test.
# Its only purpose is to catch major regressions in cubemapping as long as we
# fail the real texturing/cubemap test.
r300
[
'cubemap-relax'
]
=
PlainExecTest
([
testBinDir
+
'cubemap'
,
'-auto'
,
'-r300relax'
])
profile
.
tests
[
'r300'
]
=
r300
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment