Lines Matching +full:- +full:- +full:build +full:- +full:root
1 # -*- coding: utf-8 -*-
3 #-------------------------------------------------------------------------
5 # --------------------------------------
13 # http://www.apache.org/licenses/LICENSE-2.0
21 #-------------------------------------------------------------------------
23 from build.common import *
24 from build.config import ANY_GENERATOR
25 from build.build import build
96 'dEQP-EGL': GLESVersion(2,0),
97 'dEQP-GLES2': GLESVersion(2,0),
98 'dEQP-GLES3': GLESVersion(3,0),
99 'dEQP-GLES31': GLESVersion(3,1)
110 assert module.name[:5] == "dEQP-"
114 return "%s-%s.txt" % (getModuleShorthand(package.module), configuration.name)
126 cmdLine += "--deqp-gl-config-name=%s " % config.glconfig
129 cmdLine += "--deqp-screen-rotation=%s " % config.rotation
132 cmdLine += "--deqp-surface-type=%s " % config.surfacetype
134 cmdLine += "--deqp-watchdog=enable"
147 build(buildCfg, generator, [module.binName])
226 def appendToHierarchy (root, casePath): argument
233 curNode = root
236 for component in components[:-1]:
243 if not findChild(curNode, components[-1]):
244 curNode.children.append(TestCase(components[-1]))
247 root = TestRoot()
249 appendToHierarchy(root, case)
250 return root
252 def buildTestCaseMap (root): argument
263 for child in root.children:
280 uglyString = ElementTree.tostring(doc, 'utf-8')
282 return reparsed.toprettyxml(indent='\t', encoding='utf-8')
284 def genCTSPackageXML (mustpass, package, root): argument
344 for child in root.children:
375 addOptionElement(testElement, "deqp-package", package.module.name)
376 addOptionElement(testElement, "deqp-caselist-file", getCaseListFileName(package,config))
377 …# \todo [2015-10-16 kalle]: Replace with just command line? - requires simplifications in the runn…
379 addOptionElement(testElement, "deqp-gl-config-name", config.glconfig)
382 addOptionElement(testElement, "deqp-surface-type", config.surfacetype)
385 addOptionElement(testElement, "deqp-screen-rotation", config.rotation)
388 addOptionElement(testElement, "runtime-hint", config.expectedRuntime)
415 root = buildTestHierachy(allMatchingCases)
416 testCaseMap = buildTestCaseMap(root)
423 packageXml = genCTSPackageXML(mustpass, package, root)
448 # Getting case lists involves invoking build, so we want to cache the results