Lines Matching refs:config
57 def initBuildDir (config): argument
58 if os.path.exists(config.buildPath):
59 shutil.rmtree(config.buildPath)
61 os.makedirs(config.buildPath)
62 execute(["cmake", os.path.realpath(config.srcPath)] + config.genParams, workDir = config.buildPath)
64 def prepareBuildDir (config): argument
66 if os.path.exists(config.buildPath):
68 execute(["cmake", "."], workDir = config.buildPath)
71 initBuildDir(config)
73 initBuildDir(config)
75 def build (config): argument
76 prepareBuildDir(config)
77 execute(["cmake", "--build", "."] + config.buildParams, workDir = config.buildPath)
79 def runInternalTests (config): argument
80 batchResultFile = config.name + ".qpa"
81 infoLogFile = config.name + ".txt"
82 junitFile = config.name + ".xml"
84 testWorkDir = os.path.join(config.buildPath, "modules", "internal")
85 junitToolPath = os.path.join(config.buildPath, 'executor', config.junitTool)
92 build(config)
95 execute([config.testBinaryName, "--deqp-runmode=xml-caselist"], workDir = testWorkDir)
99 os.path.join(config.buildPath, 'executor', config.executor),
101 '--start-server=%s' % os.path.join(config.buildPath, 'execserver', config.execserver),
102 '--binaryname=%s' % config.testBinaryName,
234 for config in CONFIGS:
235 if config.name == name:
236 return config
243 config = findConfig(sys.argv[1]) variable
244 if config == None:
248 runInternalTests(config)