minor clean-up

This commit is contained in:
Brian Paul 2002-11-08 15:49:31 +00:00
parent 2c9e7ae38b
commit 0b0245c160
1 changed files with 2 additions and 3 deletions

View File

@ -1,12 +1,13 @@
#!/usr/bin/env python
# $Id: getprocaddress.py,v 1.1 2002/11/08 15:35:47 brianp Exp $
# $Id: getprocaddress.py,v 1.2 2002/11/08 15:49:31 brianp Exp $
# Helper for the getprocaddress.c test.
import re, string
def PrintHead():
print """
struct name_test_pair {
@ -46,7 +47,6 @@ def FindTestFunctions():
v = re.search("^test_([a-zA-Z0-9]+)", line)
if v:
func = v.group(1)
#print "Found -%s-" % func
functions.append(func)
f.close
return functions
@ -72,7 +72,6 @@ def PrintFunctions(specFile, tests):
print ' { "-%s", NULL},' % category
prevCategory = category
# if HaveTest("gl" + funcName):
if funcName in tests:
test = "test_%s" % funcName
else: