/external/deqp/executor/ |
D | xeBatchResult.cpp | 50 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 …]
|
D | xeBatchResult.hpp | 73 TestCaseResultData (const char* casePath); 115 bool hasTestCaseResult (const char* casePath) const; 116 ConstTestCaseResultPtr getTestCaseResult (const char* casePath) const; 117 TestCaseResultPtr getTestCaseResult (const char* casePath); 119 TestCaseResultPtr createTestCaseResult (const char* casePath);
|
D | xeTestLogParser.cpp | 116 const char* casePath = m_containerParser.getTestCasePath(); in parse() local 117 m_currentCaseData = m_handler->startTestCaseResult(casePath); in parse()
|
D | xeBatchExecutor.cpp | 138 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()
|
D | xeTestResultParser.cpp | 257 static TestCaseType getTestCaseTypeFromPath (const char* casePath) in getTestCaseTypeFromPath() argument 259 if (deStringBeginsWith(casePath, "dEQP-GLES2.")) in getTestCaseTypeFromPath() 261 const char* group = casePath+11; in getTestCaseTypeFromPath() 455 m_result->casePath = getAttribute("CasePath"); in handleElementStart() 465 m_result->caseType = getTestCaseTypeFromPath(m_result->casePath.c_str()); in handleElementStart() 876 result->casePath = data.getTestCasePath(); in parseTestCaseResultFromData() 905 if (result->casePath.empty()) in parseTestCaseResultFromData()
|
D | xeTestLogParser.hpp | 46 virtual TestCaseResultPtr startTestCaseResult (const char* casePath) = DE_NULL;
|
D | xeBatchExecutor.hpp | 59 TestCaseResultPtr startTestCaseResult (const char* casePath);
|
D | xeTestCaseResult.hpp | 118 std::string casePath; //!< Full test case path. member in xe::TestCaseResultHeader
|
D | xeTestLogWriter.cpp | 499 << Writer::Attribute("CasePath", result.casePath) in writeTestResult()
|
/external/deqp/scripts/ |
D | convert_case_list_to_xml.py | 26 def __init__(self, casePath, description, caseType): argument 27 self.casePath = casePath 42 def createAncestors(casePath): argument 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, description, caseType))
|
D | mustpass.py | 226 def appendToHierarchy (root, casePath): argument 234 components = casePath.split('.')
|
/external/deqp/executor/tools/ |
D | xeExtractSampleLists.cpp | 43 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()
|
D | xeTestLogCompare.cpp | 138 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 …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 = casePath; in getTestResultHeaders()
|
D | xeExtractShaderPrograms.cpp | 68 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::… in writeShaderProgram() argument 70 …const string basePath = string(de::FilePath::join(cmdLine.dstPath, casePath).getPath()) + "." + de… in writeShaderProgram() 99 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const x… in extractShaderPrograms() argument 117 …writeShaderProgram(cmdLine, casePath, static_cast<const xe::ri::ShaderProgram&>(curItem), programN… in extractShaderPrograms() 128 std::cout << "WARNING: no shader programs found in '" << casePath << "'\n"; in extractShaderPrograms() 144 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument 146 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
|
D | xeBatchResultToJUnit.cpp | 95 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()
|
D | xeBatchResultToXml.cpp | 154 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()
|
D | xeExtractValues.cpp | 58 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()
|
D | xeMergeTestLogs.cpp | 96 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()
|
D | xeCommandLineExecutor.cpp | 210 bool checkCasePathPatternMatch (const char* pattern, const char* casePath, bool isTestGroup) in checkCasePathPatternMatch() argument 217 char c = casePath[casePos]; in checkCasePathPatternMatch() 226 if (checkCasePathPatternMatch(pattern+ptrnPos+1, casePath+next, isTestGroup)) in checkCasePathPatternMatch() 229 if (casePath[next] == 0) in checkCasePathPatternMatch() 365 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument 368 if (m_batchResult->hasTestCaseResult(casePath)) in startTestCaseResult() 369 return m_batchResult->getTestCaseResult(casePath); in startTestCaseResult() 371 return m_batchResult->createTestCaseResult(casePath); in startTestCaseResult()
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktBuildPrograms.cpp | 155 BuiltProgramSp buildProgram (IteratorType progIter, const std::string& casePath) in buildProgram() argument 172 return BuiltProgramSp(new BuiltProgram(vk::ProgramIdentifier(casePath, progIter.getName()), in buildProgram() 195 const string casePath = iterator.getNodePath(); in buildPrograms() local 199 tcu::print("%s\n", casePath.c_str()); in buildPrograms() 207 builtPrograms.push_back(buildProgram(progIter, casePath)); in buildPrograms() 214 builtPrograms.push_back(buildProgram(progIter, casePath)); in buildPrograms()
|
D | vktTestPackage.cpp | 87 vk::ProgramBinary* buildProgram (const std::string& casePath, in buildProgram() argument 93 const vk::ProgramIdentifier progId (casePath, iter.getName()); in buildProgram() 201 void TestCaseExecutor::init (tcu::TestCase* testCase, const std::string& casePath) in init() argument 207 DE_UNREF(casePath); // \todo [2015-03-13 pyry] Use this to identify ProgramCollection storage path in init() 217 …uildProgram<glu::ShaderProgramInfo, vk::GlslSourceCollection::Iterator>(casePath, progIter, m_preb… in init() 235 …buildProgram<vk::SpirVProgramInfo, vk::SpirVAsmCollection::Iterator>(casePath, asmIterator, m_preb… in init()
|
/external/deqp/framework/common/ |
D | tcuTestSessionExecutor.cpp | 163 bool TestSessionExecutor::enterTestCase (TestCase* testCase, const std::string& casePath) in enterTestCase() argument 169 print("\nTest case '%s'..\n", casePath.c_str()); in enterTestCase() 173 log.startCase(casePath.c_str(), caseType); in enterTestCase() 180 m_caseExecutor->init(testCase, casePath); in enterTestCase()
|
D | tcuTestSessionExecutor.hpp | 75 bool enterTestCase (TestCase* testCase, const std::string& casePath);
|
D | tcuCommandLine.cpp | 886 static bool checkTestCaseName (const CaseTreeNode* root, const char* casePath) in checkTestCaseName() argument 888 const CaseTreeNode* node = findNode(root, casePath); in checkTestCaseName()
|