summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/python/tests/base.py
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-07-16 14:11:45 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-07-16 14:13:10 +0900
commit70b1ff9ff39ca29bdbd25b31ebb183eea683d625 (patch)
treeadd5c5d74e6199f8581b6ba20eab1d92e76da0d1 /src/gallium/state_trackers/python/tests/base.py
parent61c4de53c360fd2893b0490075d760f2ca3bac33 (diff)
python: Expand the texture test suit to cover one YUV and one DXT format.
Diffstat (limited to 'src/gallium/state_trackers/python/tests/base.py')
-rw-r--r--src/gallium/state_trackers/python/tests/base.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/tests/base.py b/src/gallium/state_trackers/python/tests/base.py
index d5d6114a45..d83abdfa76 100644
--- a/src/gallium/state_trackers/python/tests/base.py
+++ b/src/gallium/state_trackers/python/tests/base.py
@@ -93,6 +93,9 @@ class Test:
def __init__(self):
pass
+ def description(self):
+ raise NotImplementedError
+
def run(self):
raise NotImplementedError
@@ -111,7 +114,8 @@ class TestSuite(Test):
def run(self):
for test in self.tests:
- self.test.run()
+ print "Running %s..." % test.description()
+ test.run()
class TextureTemplate: