summaryrefslogtreecommitdiff
path: root/tests/radeon.tests
blob: 0984639fa46b1d109fe7d76e057f62b535eeae9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/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