• Home
  • Raw
  • Download

Lines Matching refs:mustpass

88 def getSrcDir (mustpass):  argument
89 return os.path.join(mustpass.project.path, mustpass.version, "src")
91 def getTmpDir (mustpass): argument
92 return os.path.join(mustpass.project.path, mustpass.version, "tmp")
100 def getDstDir(mustpass): argument
101 return os.path.join(mustpass.project.path, mustpass.version)
103 def getDstCaseListPath (mustpass, package, configuration): argument
104 return os.path.join(getDstDir(mustpass), getCaseListFileName(package, configuration))
200 def readPatternLists (mustpass): argument
202 for package in mustpass.packages:
206 lists[filter.filename] = readPatternList(os.path.join(getSrcDir(mustpass), filter.filename))
227 def insertXMLHeaders (mustpass, doc): argument
228 if mustpass.project.copyright != None:
229 doc.insert(0, ElementTree.Comment(mustpass.project.copyright))
237 def genSpecXML (mustpass): argument
238 mustpassElem = ElementTree.Element("Mustpass", version = mustpass.version)
239 insertXMLHeaders(mustpass, mustpassElem)
241 packageElem = ElementTree.SubElement(mustpassElem, "TestPackage", name = mustpass.project.name)
243 for package in mustpass.packages:
312 def genSpecCPPIncludeFile (specFilename, mustpass): argument
318 fileBody += mustpass.project.copyright
322 …fileBody += 'const char* mustpassDir = "' + mustpass.project.devicepath + '/' + mustpass.version +…
333 …firstCfgDecl = "static const RunParams %s_first_cfg[] = " % mustpass.project.name.lower().replace(…
336 …otherCfgDecl = "static const RunParams %s_other_cfg[] = " % mustpass.project.name.lower().replace(…
339 for package in mustpass.packages:
395 for mustpass in mustpassLists:
396 if mustpass.isCurrent == True:
397 …specFilename = os.path.join(mustpass.project.incpath, "glc%s.hpp" % convertToCamelcase(mustpass.pr…
398 hpp = genSpecCPPIncludeFile(specFilename, mustpass)
404 def genMustpass (mustpass, moduleCaseLists): argument
405 print("Generating mustpass '%s'" % mustpass.version)
407 patternLists = readPatternLists(mustpass)
409 for package in mustpass.packages:
414 dstFile = getDstCaseListPath(mustpass, package, config)
419 specXML = genSpecXML(mustpass)
420 specFilename = os.path.join(mustpass.project.path, mustpass.version, "mustpass.xml")
433 for mustpass in mustpassLists:
434 for package in mustpass.packages:
438 for mustpass in mustpassLists:
439 genMustpass(mustpass, moduleCaseLists)