summaryrefslogtreecommitdiff
path: root/progs/tests/getprocaddress.py
diff options
context:
space:
mode:
authorRobert Ellison <papillo@tungstengraphics.com>2009-08-07 12:06:17 -0600
committerRobert Ellison <papillo@tungstengraphics.com>2009-08-07 12:06:17 -0600
commit99d5139078654f2728aa42aca31811308e29a589 (patch)
treedd1c82cd56469653d58aa9b4b9c2228f345ef90c /progs/tests/getprocaddress.py
parent1359d69f11f2d81ad3a1d44b7f729ee243d7f53d (diff)
mesa: improve getprocaddress test
- Allow the getprocaddress test to test extensions not supported by Mesa. The original getprocaddress.py script only included OpenGL extension functions that were in Mesa dispatch tables. Now all known extension functions (as detailed in gl_API.xml) are included. As the test does not link against any extension function symbols (i.e. it uses glXGetProcAddress() for all extension functions), it still compiles and links against Mesa; but now the same binary can be used to test extensions not yet supported by Mesa. - Extend the list of tested extension functions. The last revision of this test exercised 16 extension functions; this revision adds support for 95 more.
Diffstat (limited to 'progs/tests/getprocaddress.py')
-rw-r--r--progs/tests/getprocaddress.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/getprocaddress.py b/progs/tests/getprocaddress.py
index 8adfc51bd6..699195bd48 100644
--- a/progs/tests/getprocaddress.py
+++ b/progs/tests/getprocaddress.py
@@ -52,7 +52,7 @@ static struct name_test_pair functions[] = {"""
prev_category = None
- for f in api.functionIterateByOffset():
+ for f in api.functionIterateByCategory():
[category, num] = api.get_category_for_name( f.name )
if category != prev_category:
print ' { "-%s", NULL},' % category