Lines Matching refs:mustpass
105 def getSrcDir (mustpass): argument
106 return os.path.join(mustpass.project.path, mustpass.version, "src")
108 def getTmpDir (mustpass): argument
109 return os.path.join(mustpass.project.path, mustpass.version, "tmp")
118 def getDstCaseListPath (mustpass, package, configuration): argument
119 …return os.path.join(mustpass.project.path, mustpass.version, getCaseListFileName(package, configur…
208 def readPatternLists (mustpass): argument
210 for package in mustpass.packages:
214 lists[filter.filename] = readPatternList(os.path.join(getSrcDir(mustpass), filter.filename))
276 def insertXMLHeaders (mustpass, doc): argument
277 if mustpass.project.copyright != None:
278 doc.insert(0, ElementTree.Comment(mustpass.project.copyright))
286 def genSpecXML (mustpass): argument
287 mustpassElem = ElementTree.Element("Mustpass", version = mustpass.version)
288 insertXMLHeaders(mustpass, mustpassElem)
290 for package in mustpass.packages:
304 def genAndroidTestXml (mustpass): argument
324 for package in mustpass.packages:
346 insertXMLHeaders(mustpass, configElement)
350 def genMustpass (mustpass, moduleCaseLists): argument
351 print "Generating mustpass '%s'" % mustpass.version
353 patternLists = readPatternLists(mustpass)
355 for package in mustpass.packages:
360 dstFile = getDstCaseListPath(mustpass, package, config)
365 specXML = genSpecXML(mustpass)
366 specFilename = os.path.join(mustpass.project.path, mustpass.version, "mustpass.xml")
372 if (mustpass.version == "master"):
373 androidTestXML = genAndroidTestXml(mustpass)
374 androidTestFilename = os.path.join(mustpass.project.path, "AndroidTest.xml")
385 for mustpass in mustpassLists:
386 for package in mustpass.packages:
390 for mustpass in mustpassLists:
391 genMustpass(mustpass, moduleCaseLists)