Home
last modified time | relevance | path

Searched refs:casePath (Results 1 – 24 of 24) sorted by relevance

/external/deqp/executor/
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 …]
DxeBatchResult.hpp73 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);
DxeTestLogParser.cpp116 const char* casePath = m_containerParser.getTestCasePath(); in parse() local
117 m_currentCaseData = m_handler->startTestCaseResult(casePath); in parse()
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()
DxeTestResultParser.cpp257 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()
DxeTestLogParser.hpp46 virtual TestCaseResultPtr startTestCaseResult (const char* casePath) = DE_NULL;
DxeBatchExecutor.hpp59 TestCaseResultPtr startTestCaseResult (const char* casePath);
DxeTestCaseResult.hpp118 std::string casePath; //!< Full test case path. member in xe::TestCaseResultHeader
DxeTestLogWriter.cpp499 << Writer::Attribute("CasePath", result.casePath) in writeTestResult()
/external/deqp/scripts/
Dconvert_case_list_to_xml.py26 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))
Dmustpass.py228 def appendToHierarchy (root, casePath): argument
236 components = casePath.split('.')
/external/deqp/executor/tools/
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()
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 …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()
DxeExtractShaderPrograms.cpp68 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()
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()
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()
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()
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()
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()
/external/deqp/framework/common/
DtcuTestSessionExecutor.cpp163 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()
DtcuTestSessionExecutor.hpp75 bool enterTestCase (TestCase* testCase, const std::string& casePath);
DtcuCommandLine.cpp886 static bool checkTestCaseName (const CaseTreeNode* root, const char* casePath) in checkTestCaseName() argument
888 const CaseTreeNode* node = findNode(root, casePath); in checkTestCaseName()
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestPackage.cpp98 vk::ProgramBinary* buildProgram (const std::string& casePath, in buildProgram() argument
104 const vk::ProgramIdentifier progId (casePath, iter.getName()); in buildProgram()
212 void TestCaseExecutor::init (tcu::TestCase* testCase, const std::string& casePath) in init() argument
218 DE_UNREF(casePath); // \todo [2015-03-13 pyry] Use this to identify ProgramCollection storage path in init()
228 …uildProgram<glu::ShaderProgramInfo, vk::GlslSourceCollection::Iterator>(casePath, progIter, m_preb… in init()
246 …buildProgram<vk::SpirVProgramInfo, vk::SpirVAsmCollection::Iterator>(casePath, asmIterator, m_preb… in init()
DvktBuildPrograms.cpp390 const string casePath = iterator.getNodePath(); in buildPrograms() local
399 programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()))); in buildPrograms()
408 programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()))); in buildPrograms()