Home
last modified time | relevance | path

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

12

/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.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);
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()
DxeTestLogParser.cpp118 const char* casePath = m_containerParser.getTestCasePath(); in parse() local
119 m_currentCaseData = m_handler->startTestCaseResult(casePath); in parse()
DxeTestResultParser.cpp269 static TestCaseType getTestCaseTypeFromPath (const char* casePath) in getTestCaseTypeFromPath() argument
271 if (deStringBeginsWith(casePath, "dEQP-GLES2.")) in getTestCaseTypeFromPath()
273 const char* group = casePath+11; in getTestCaseTypeFromPath()
467 m_result->casePath = getAttribute("CasePath"); in handleElementStart()
477 m_result->caseType = getTestCaseTypeFromPath(m_result->casePath.c_str()); in handleElementStart()
888 result->casePath = data.getTestCasePath(); in parseTestCaseResultFromData()
917 if (result->casePath.empty()) in parseTestCaseResultFromData()
DxeTestLogParser.hpp46 virtual TestCaseResultPtr startTestCaseResult (const char* casePath) = DE_NULL;
DxeBatchExecutor.hpp59 TestCaseResultPtr startTestCaseResult (const char* casePath);
/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.py229 def appendToHierarchy (root, casePath): argument
237 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.cpp75 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::… in writeShaderProgram() argument
77 …const string basePath = string(de::FilePath::join(cmdLine.dstPath, casePath).getPath()) + "." + de… in writeShaderProgram()
106 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const x… in extractShaderPrograms() argument
124 …writeShaderProgram(cmdLine, casePath, static_cast<const xe::ri::ShaderProgram&>(curItem), programN… in extractShaderPrograms()
135 std::cout << "WARNING: no shader programs found in '" << casePath << "'\n"; in extractShaderPrograms()
151 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
153 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.cpp182 void TestSessionExecutor::enterTestGroup (const std::string& casePath) in enterTestGroup() argument
184 m_groupsDurationTime[casePath] = deGetMicroseconds(); in enterTestGroup()
187 void TestSessionExecutor::leaveTestGroup (const std::string& casePath) in leaveTestGroup() argument
189 m_groupsDurationTime[casePath] = deGetMicroseconds() - m_groupsDurationTime[casePath]; in leaveTestGroup()
192 bool TestSessionExecutor::enterTestCase (TestCase* testCase, const std::string& casePath) in enterTestCase() argument
198 print("\nTest case '%s'..\n", casePath.c_str()); in enterTestCase()
202 log.startCase(casePath.c_str(), caseType); in enterTestCase()
209 m_caseExecutor->init(testCase, casePath); in enterTestCase()
DtcuTestSessionExecutor.hpp78 void enterTestGroup (const std::string& casePath);
79 void leaveTestGroup (const std::string& casePath);
81 bool enterTestCase (TestCase* testCase, const std::string& casePath);
DtcuWaiverUtil.cpp514 bool WaiverUtil::isOnWaiverList(const std::string& casePath) const in isOnWaiverList()
520 size_t firstDotPos = casePath.find('.'); in isOnWaiverList()
521 std::string::const_iterator componentStart = casePath.cbegin() + firstDotPos + 1; in isOnWaiverList()
523 std::string::const_iterator pathEnd = casePath.cend(); in isOnWaiverList()
DtcuWaiverUtil.hpp82 bool isOnWaiverList (const std::string& casePath) const;
/external/angle/src/tests/deqp_support/
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()
DtcuRandomOrderExecutor.h47 TestStatus executeInner(TestCase *testCase, const std::string &casePath);
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestPackage.cpp129 vk::ProgramBinary* buildProgram (const std::string& casePath, in buildProgram() argument
136 const vk::ProgramIdentifier progId (casePath, iter.getName()); in buildProgram()
254 void TestCaseExecutor::init (tcu::TestCase* testCase, const std::string& casePath) in init() argument
267 DE_UNREF(casePath); // \todo [2015-03-13 pyry] Use this to identify ProgramCollection storage path in init()
272 if (m_waiverMechanism.isOnWaiverList(casePath)) in init()
287 …uildProgram<glu::ShaderProgramInfo, vk::GlslSourceCollection::Iterator>(casePath, progIter, m_preb… in init()
311 …uildProgram<glu::ShaderProgramInfo, vk::HlslSourceCollection::Iterator>(casePath, progIter, m_preb… in init()
335 …buildProgram<vk::SpirVProgramInfo, vk::SpirVAsmCollection::Iterator>(casePath, asmIterator, m_preb… in init()
DvktBuildPrograms.cpp428 const string casePath = iterator.getNodePath(); in buildPrograms() local
455 …programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram… in buildPrograms()
470 …programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram… in buildPrograms()
485 …programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram… in buildPrograms()

12