Home
last modified time | relevance | path

Searched refs:casePath (Results 1 - 25 of 32) sorted by relevance

12

/third_party/vk-gl-cts/executor/
H A DxeBatchResult.cpp50 TestCaseResultData::TestCaseResultData (const char* casePath) in TestCaseResultData() argument
51 : m_casePath (casePath) in TestCaseResultData()
84 bool BatchResult::hasTestCaseResult (const char* casePath) const in hasTestCaseResult()
86 return m_resultMap.find(casePath) != m_resultMap.end(); in hasTestCaseResult()
89 ConstTestCaseResultPtr BatchResult::getTestCaseResult (const char* casePath) const in getTestCaseResult()
91 map<string, int>::const_iterator pos = m_resultMap.find(casePath); in getTestCaseResult()
96 TestCaseResultPtr BatchResult::getTestCaseResult (const char* casePath) in getTestCaseResult() argument
98 map<string, int>::const_iterator pos = m_resultMap.find(casePath); in getTestCaseResult()
103 TestCaseResultPtr BatchResult::createTestCaseResult (const char* casePath) in createTestCaseResult() argument
105 DE_ASSERT(!hasTestCaseResult(casePath)); in createTestCaseResult()
[all...]
H A DxeBatchResult.hpp74 TestCaseResultData (const char* casePath);
116 bool hasTestCaseResult (const char* casePath) const;
117 ConstTestCaseResultPtr getTestCaseResult (const char* casePath) const;
118 TestCaseResultPtr getTestCaseResult (const char* casePath);
120 TestCaseResultPtr createTestCaseResult (const char* casePath);
H A DxeBatchExecutor.cpp138 TestCaseResultPtr BatchExecutorLogHandler::startTestCaseResult (const char* casePath) in startTestCaseResult() argument
141 if (m_batchResult->hasTestCaseResult(casePath)) in startTestCaseResult()
142 return m_batchResult->getTestCaseResult(casePath); in startTestCaseResult()
144 return m_batchResult->createTestCaseResult(casePath); in startTestCaseResult()
H A DxeTestLogParser.cpp118 const char* casePath = m_containerParser.getTestCasePath(); in parse() local
119 m_currentCaseData = m_handler->startTestCaseResult(casePath); in parse()
H A DxeTestResultParser.cpp274 static TestCaseType getTestCaseTypeFromPath (const char* casePath) in getTestCaseTypeFromPath() argument
276 if (deStringBeginsWith(casePath, "dEQP-GLES2.")) in getTestCaseTypeFromPath()
278 const char* group = casePath+11; in getTestCaseTypeFromPath()
473 m_result->casePath = getAttribute("CasePath"); in handleElementStart()
483 m_result->caseType = getTestCaseTypeFromPath(m_result->casePath.c_str()); in handleElementStart()
894 result->casePath = data.getTestCasePath(); in parseTestCaseResultFromData()
923 if (result->casePath.empty()) in parseTestCaseResultFromData()
H A DxeTestLogParser.hpp46 virtual TestCaseResultPtr startTestCaseResult (const char* casePath) = DE_NULL;
/third_party/vk-gl-cts/scripts/
H A Dconvert_case_list_to_xml.py26 def __init__(self, casePath, description, caseType):
27 self.casePath = casePath
42 def createAncestors(casePath):
44 for dotNdx in findAllMatches(casePath, "."):
45 ancestorPath = casePath[:dotNdx]
57 element.setAttribute("Name", testCase.casePath.rsplit(".", 2)[-1])
79 casePath = m.group(1) variable
82 parent = createAncestors(casePath)
83 parent.children.append(TestCase(casePath, descriptio
[all...]
/third_party/vk-gl-cts/executor/tools/
H A DxeExtractSampleLists.cpp43 void writeSampleList (const char* casePath, int listNdx, const xe::ri::SampleList& sampleList) in writeSampleList() argument
45 const string filename = string(casePath) + "." + de::toString(listNdx) + ".csv"; in writeSampleList()
78 void extractSampleLists (const char* casePath, int* listNdx, const xe::ri::List& items) in extractSampleLists() argument
85 extractSampleLists(casePath, listNdx, static_cast<const xe::ri::Section&>(child).items); in extractSampleLists()
88 writeSampleList(casePath, *listNdx, static_cast<const xe::ri::SampleList&>(child)); in extractSampleLists()
97 extractSampleLists(result.casePath.c_str(), &listNdx, result.resultItems); in extractSampleLists()
112 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
114 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
H A DxeTestLogCompare.cpp138 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
140 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
153 header.casePath = caseData->getTestCasePath(); in testCaseResultComplete()
169 m_result.resultMap[header.casePath] = caseNdx; in testCaseResultComplete()
227 if (addedCases.find(caseIter->casePath) == addedCases.end()) in computeCaseList()
229 cases.push_back(caseIter->casePath); in computeCaseList()
230 addedCases.insert(caseIter->casePath); in computeCaseList()
236 static void getTestResultHeaders (vector<xe::TestCaseResultHeader>& headers, const vector<ShortBatchResult>& batchResults, const char* casePath) in getTestResultHeaders() argument
243 map<string, int>::const_iterator resultPos = batchResult.resultMap.find(casePath); in getTestResultHeaders()
249 headers[ndx].casePath in getTestResultHeaders()
[all...]
H A DxeExtractShaderPrograms.cpp77 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::ri::ShaderProgram& shaderProgram, int programNdx) in writeShaderProgram() argument
79 const string basePath = string(de::FilePath::join(cmdLine.dstPath, casePath).getPath()) + "." + de::toString(programNdx); in writeShaderProgram()
108 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const xe::TestCaseResult& result) in extractShaderPrograms() argument
126 writeShaderProgram(cmdLine, casePath, static_cast<const xe::ri::ShaderProgram&>(curItem), programNdx); in extractShaderPrograms()
137 std::cout << "WARNING: no shader programs found in '" << casePath << "'\n"; in extractShaderPrograms() local
153 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
155 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
H A DxeBatchResultToJUnit.cpp95 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
97 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
113 size_t sepPos = result.casePath.find_last_of('.'); in testCaseResultComplete()
114 std::string caseName = result.casePath.substr(sepPos+1); in testCaseResultComplete()
115 std::string groupName = result.casePath.substr(0, sepPos); in testCaseResultComplete()
H A DxeBatchResultToXml.cpp154 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
156 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
242 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
244 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
259 de::FilePath casePath = de::FilePath::join(m_dstPath, (result.casePath + ".xml").c_str()); in testCaseResultComplete() local
260 std::ofstream out (casePath.getPath(), std::ofstream::binary|std::ofstream::trunc); in testCaseResultComplete()
264 throw xe::Error(string("Failed to open ") + casePath.getPath()); in testCaseResultComplete()
360 xe::TestCase* testCase = hierarchyBuilder.createCase(result->casePath.c_str(), result->caseType); in batchResultToSeparateXmlFiles()
H A DxeMergeTestLogs.cpp96 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
98 if (m_batchResult->hasTestCaseResult(casePath)) in startTestCaseResult()
100 xe::TestCaseResultPtr existingResult = m_batchResult->getTestCaseResult(casePath); in startTestCaseResult()
105 return m_batchResult->createTestCaseResult(casePath); in startTestCaseResult()
H A DxeExtractValues.cpp58 string casePath; member
139 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
141 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
154 tagResult.casePath = caseData->getTestCasePath(); in testCaseResultComplete()
243 dst << result.casePath; in printTaggedValues()
H A DxeCommandLineExecutor.cpp211 bool checkCasePathPatternMatch (const char* pattern, const char* casePath, bool isTestGroup) in checkCasePathPatternMatch() argument
218 char c = casePath[casePos]; in checkCasePathPatternMatch()
227 if (checkCasePathPatternMatch(pattern+ptrnPos+1, casePath+next, isTestGroup)) in checkCasePathPatternMatch()
230 if (casePath[next] == 0) in checkCasePathPatternMatch()
366 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
369 if (m_batchResult->hasTestCaseResult(casePath)) in startTestCaseResult()
370 return m_batchResult->getTestCaseResult(casePath); in startTestCaseResult()
372 return m_batchResult->createTestCaseResult(casePath); in startTestCaseResult()
/third_party/vk-gl-cts/framework/common/
H A DtcuTestSessionExecutor.cpp194 void TestSessionExecutor::enterTestGroup (const std::string& casePath) in enterTestGroup() argument
196 m_groupsDurationTime[casePath] = deGetMicroseconds(); in enterTestGroup()
199 void TestSessionExecutor::leaveTestGroup (const std::string& casePath) in leaveTestGroup() argument
201 m_groupsDurationTime[casePath] = deGetMicroseconds() - m_groupsDurationTime[casePath]; in leaveTestGroup()
204 bool TestSessionExecutor::enterTestCase (TestCase* testCase, const std::string& casePath) in enterTestCase() argument
210 print("\nTest case '%s'..\n", casePath.c_str()); in enterTestCase()
218 log.startCase(casePath.c_str(), caseType); in enterTestCase()
225 m_caseExecutor->init(testCase, casePath); in enterTestCase()
H A DtcuTestSessionExecutor.hpp52 void enterTestGroup (const std::string& casePath);
53 void leaveTestGroup (const std::string& casePath);
55 bool enterTestCase (TestCase* testCase, const std::string& casePath);
H A DtcuWaiverUtil.cpp516 bool WaiverUtil::isOnWaiverList(const std::string& casePath) const in isOnWaiverList()
522 size_t firstDotPos = casePath.find('.'); in isOnWaiverList()
523 std::string::const_iterator componentStart = casePath.cbegin() + firstDotPos + 1; in isOnWaiverList()
525 std::string::const_iterator pathEnd = casePath.cend(); in isOnWaiverList()
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/
H A DtcuRandomOrderExecutor.cpp180 TestStatus RandomOrderExecutor::execute(const std::string &casePath) in execute() argument
182 TestCase *const testCase = seekToCase(casePath); in execute()
187 log.startCase(casePath.c_str(), caseType); in execute()
190 const TestStatus result = executeInner(testCase, casePath); in execute()
196 tcu::TestStatus RandomOrderExecutor::executeInner(TestCase *testCase, const std::string &casePath) in executeInner() argument
207 m_caseExecutor->init(testCase, casePath); in executeInner()
H A DtcuRandomOrderExecutor.h47 TestStatus executeInner(TestCase *testCase, const std::string &casePath);
/third_party/vk-gl-cts/framework/platform/ohos/
H A Dtestmain.cpp106 bool GetCasePath(tcu::TestNode *node, std::vector<tcu::TestNode *> &casePath, std::vector<std::string> &namePath, uint32_t deep = 0) in GetCasePath() argument
112 casePath.push_back(node); in GetCasePath()
127 if (GetCasePath(children[i], casePath, namePath, deep + 1)) in GetCasePath()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
H A DvktTestPackage.cpp172 int getCurrentSubprocessCount (const std::string& casePath, int defaultSubprocessCount);
383 void TestCaseExecutor::init (tcu::TestCase* testCase, const std::string& casePath) in init() argument
385 if (m_waiverMechanism.isOnWaiverList(casePath)) in init()
404 int currentSubprocessCount = getCurrentSubprocessCount(casePath, m_context->getTestContext().getCommandLine().getSubprocessTestCount()); in init()
423 m_testsForSubprocess.push_back(casePath); in init()
426 m_resourceInterface->initTestCase(casePath); in init()
428 if (m_waiverMechanism.isOnWaiverList(casePath)) in init()
443 const vk::ProgramBinary* const binProg = m_resourceInterface->buildProgram<glu::ShaderProgramInfo, vk::GlslSourceCollection::Iterator>(casePath, progIter, m_prebuiltBinRegistry, &m_progCollection); in init()
467 const vk::ProgramBinary* const binProg = m_resourceInterface->buildProgram<glu::ShaderProgramInfo, vk::HlslSourceCollection::Iterator>(casePath, progIter, m_prebuiltBinRegistry, &m_progCollection); in init()
491 m_resourceInterface->buildProgram<vk::SpirVProgramInfo, vk::SpirVAsmCollection::Iterator>(casePath, asmIterato in init()
732 getCurrentSubprocessCount(const std::string& casePath, int defaultSubprocessCount) getCurrentSubprocessCount() argument
[all...]
H A DvktBuildPrograms.cpp433 const string casePath = iterator.getNodePath(); in buildPrograms() local
460 programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram().buildOptions.getSpirvValidatorOptions())); in buildPrograms()
475 programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram().buildOptions.getSpirvValidatorOptions())); in buildPrograms()
490 programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram().buildOptions.getSpirvValidatorOptions())); in buildPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/
H A DvktTestPackage.cpp164 int getCurrentSubprocessCount (const std::string& casePath, int defaultSubprocessCount);
374 void TestCaseExecutor::init (tcu::TestCase* testCase, const std::string& casePath) in init() argument
376 if (m_waiverMechanism.isOnWaiverList(casePath)) in init()
395 int currentSubprocessCount = getCurrentSubprocessCount(casePath, m_context->getTestContext().getCommandLine().getSubprocessTestCount()); in init()
414 m_testsForSubprocess.push_back(casePath); in init()
417 m_resourceInterface->initTestCase(casePath); in init()
419 if (m_waiverMechanism.isOnWaiverList(casePath)) in init()
434 const vk::ProgramBinary* const binProg = m_resourceInterface->buildProgram<glu::ShaderProgramInfo, vk::GlslSourceCollection::Iterator>(casePath, progIter, m_prebuiltBinRegistry, &m_progCollection); in init()
458 const vk::ProgramBinary* const binProg = m_resourceInterface->buildProgram<glu::ShaderProgramInfo, vk::HlslSourceCollection::Iterator>(casePath, progIter, m_prebuiltBinRegistry, &m_progCollection); in init()
482 m_resourceInterface->buildProgram<vk::SpirVProgramInfo, vk::SpirVAsmCollection::Iterator>(casePath, asmIterato in init()
674 getCurrentSubprocessCount(const std::string& casePath, int defaultSubprocessCount) getCurrentSubprocessCount() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkResourceInterface.hpp54 virtual void initTestCase (const std::string& casePath);
59 vk::ProgramBinary* buildProgram (const std::string& casePath,
382 vk::ProgramBinary* ResourceInterface::buildProgram (const std::string& casePath, in buildProgram() argument
387 const vk::ProgramIdentifier progId (casePath, iter.getName()); in buildProgram()

Completed in 15 milliseconds

12