aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/getprocaddress.py
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-05-11 21:09:20 -0600
committerBrian Paul <[email protected]>2010-05-11 21:09:20 -0600
commit0dc18841f5b9c9bbc40465ddf767fe793b1b198d (patch)
tree20768cb2fe60e0de2acc35f3ced163255d8d3f5c /progs/tests/getprocaddress.py
parent42d31bf39095c8377a107510b90b3fea5fb3cc76 (diff)
progs/tests: update getprocaddress test since moving glapi files
Diffstat (limited to 'progs/tests/getprocaddress.py')
-rw-r--r--progs/tests/getprocaddress.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/progs/tests/getprocaddress.py b/progs/tests/getprocaddress.py
index 60111cb8010..c421f90cb68 100644
--- a/progs/tests/getprocaddress.py
+++ b/progs/tests/getprocaddress.py
@@ -3,8 +3,10 @@
# Helper for the getprocaddress.c test.
+glapi_xml_path = "../../src/mapi/glapi/gen/"
+
import sys, getopt, re
-sys.path.append("../../src/mesa/glapi/gen" )
+sys.path.append(glapi_xml_path)
import gl_XML
import license
@@ -74,7 +76,7 @@ static struct name_test_pair functions[] = {"""
if __name__ == '__main__':
- file_name = "../../src/mesa/glapi/gen/gl_API.xml"
+ file_name = glapi_xml_path + "gl_API.xml"
try:
(args, trail) = getopt.getopt(sys.argv[1:], "f:")