Lines Matching refs:mustpass
103 def getSrcDir (mustpass): argument
104 return os.path.join(mustpass.project.path, mustpass.version, "src")
106 def getTmpDir (mustpass): argument
107 return os.path.join(mustpass.project.path, mustpass.version, "tmp")
116 def getDstCaseListPath (mustpass, package, configuration): argument
117 …return os.path.join(mustpass.project.path, mustpass.version, getCaseListFileName(package, configur…
206 def readPatternLists (mustpass): argument
208 for package in mustpass.packages:
212 lists[filter.filename] = readPatternList(os.path.join(getSrcDir(mustpass), filter.filename))
274 def insertXMLHeaders (mustpass, doc): argument
275 if mustpass.project.copyright != None:
276 doc.insert(0, ElementTree.Comment(mustpass.project.copyright))
284 def genCTSPackageXML (mustpass, package, root): argument
337 insertXMLHeaders(mustpass, pkgElem)
349 def genSpecXML (mustpass): argument
350 mustpassElem = ElementTree.Element("Mustpass", version = mustpass.version)
351 insertXMLHeaders(mustpass, mustpassElem)
353 for package in mustpass.packages:
367 def genAndroidTestXml (mustpass): argument
371 for package in mustpass.packages:
390 insertXMLHeaders(mustpass, configElement)
394 def genMustpass (mustpass, moduleCaseLists): argument
395 print "Generating mustpass '%s'" % mustpass.version
397 patternLists = readPatternLists(mustpass)
399 for package in mustpass.packages:
406 dstFile = getDstCaseListPath(mustpass, package, config)
423 packageXml = genCTSPackageXML(mustpass, package, root)
424 …xmlFilename = os.path.join(mustpass.project.path, mustpass.version, getCTSPackageName(package) + "…
429 specXML = genSpecXML(mustpass)
430 specFilename = os.path.join(mustpass.project.path, mustpass.version, "mustpass.xml")
436 if (mustpass.version == "master"):
437 androidTestXML = genAndroidTestXml(mustpass)
438 androidTestFilename = os.path.join(mustpass.project.path, "AndroidTest.xml")
449 for mustpass in mustpassLists:
450 for package in mustpass.packages:
454 for mustpass in mustpassLists:
455 genMustpass(mustpass, moduleCaseLists)