• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/libxml2-26/libxml2/

Lines Matching refs:testDescription

102 def runOneTest(testDescription, filename, inbase, errbase):
103 if 'execpath' in testDescription:
104 dir = testDescription['execpath'] + '/'
107 cmd = os.path.abspath(dir + testDescription['testprog'])
108 if 'flag' in testDescription:
109 for f in string.split(testDescription['flag']):
111 if 'stdin' not in testDescription:
113 if 'extarg' in testDescription:
114 cmd += ' ' + testDescription['extarg']
118 if 'resext' in testDescription:
119 if testDescription['resext'] == 'None':
122 ext = '.' + testDescription['resext']
134 if 'reserrext' in testDescription:
135 if testDescription['reserrext'] == 'None':
138 if len(testDescription['reserrext'])>0:
139 ext = '.' + testDescription['reserrext']
154 if 'stdin' in testDescription:
196 if 'stdin' not in testDescription:
203 testDescription = defaultParams.copy() # set defaults
204 testDescription.update(description) # override with current ent
205 if 'testname' in testDescription:
206 print "## %s" % testDescription['testname']
207 if not 'file' in testDescription:
212 if 'srcdir' in testDescription:
213 dir += testDescription['srcdir'] + '/'
214 if 'srcsub' in testDescription:
215 dir += testDescription['srcsub'] + '/'
218 if 'resdir' in testDescription:
219 rdir += testDescription['resdir'] + '/'
220 if 'ressub' in testDescription:
221 rdir += testDescription['ressub'] + '/'
223 testFiles = glob.glob(os.path.abspath(dir + testDescription['file']))
225 print "No files result from '%s'" % testDescription['file']
231 if 'exclfile' in testDescription:
232 for f in string.split(testDescription['exclfile']):
242 runOneTest(testDescription, os.path.basename(f), dir, rdir)