def getCaseList(mustpass, module): generator = ANY_GENERATOR buildCfg = getBuildConfig(DEFAULT_BUILD_DIR, DEFAULT_TARGET, "Debug") #build(buildCfg, generator, [module.binName]) genCaseList(buildCfg, generator, module, "txt") return readCaseList(getCaseListPath(buildCfg, module, "txt"))
def genMustpassLists (mustpassLists, generator, buildCfg): moduleCaseLists = {} # Getting case lists involves invoking build, so we want to cache the results build(buildCfg, generator, [GLCTS_BIN_NAME]) genCaseList(buildCfg, generator, "txt") for mustpass in mustpassLists: for package in mustpass.packages: if not package.module in moduleCaseLists: moduleCaseLists[package.module] = getCaseList(buildCfg, generator, package.module) for mustpass in mustpassLists: genMustpass(mustpass, moduleCaseLists) genSpecCPPIncludes(mustpassLists)
def getCaseList (buildCfg, generator, module): build(buildCfg, generator, [module.binName]) genCaseList(buildCfg, generator, module, "txt") return readCaseList(getCaseListPath(buildCfg, module, "txt"))