• Home
  • Raw
  • Download

Lines Matching refs:xe

129 	xe::TargetConfiguration	targetCfg;
255 void readCaseList (xe::TestGroup* root, const char* filename) in readCaseList()
257 xe::TestCaseListParser caseListParser; in readCaseList()
278 void readCaseLists (xe::TestRoot& root, const char* caseListDir) in readCaseLists()
293 xe::TestGroup* package = root.createGroup(packageName.c_str(), ""); in readCaseLists()
302 …throw xe::Error("Couldn't find test case lists from test case list directory: '" + string(caseList… in readCaseLists()
305 void addMatchingCases (const xe::TestGroup& group, xe::TestSet& testSet, const char* filter) in addMatchingCases()
309 const xe::TestNode* child = group.getChild(childNdx); in addMatchingCases()
310 const bool isGroup = child->getNodeType() == xe::TESTNODETYPE_GROUP; in addMatchingCases()
318 addMatchingCases(static_cast<const xe::TestGroup&>(*child), testSet, filter); in addMatchingCases()
322 DE_ASSERT(child->getNodeType() == xe::TESTNODETYPE_TEST_CASE); in addMatchingCases()
329 void removeMatchingCases (const xe::TestGroup& group, xe::TestSet& testSet, const char* filter) in removeMatchingCases()
333 const xe::TestNode* child = group.getChild(childNdx); in removeMatchingCases()
334 const bool isGroup = child->getNodeType() == xe::TESTNODETYPE_GROUP; in removeMatchingCases()
342 removeMatchingCases(static_cast<const xe::TestGroup&>(*child), testSet, filter); in removeMatchingCases()
346 DE_ASSERT(child->getNodeType() == xe::TESTNODETYPE_TEST_CASE); in removeMatchingCases()
353 class BatchResultHandler : public xe::TestLogHandler
356 BatchResultHandler (xe::BatchResult* batchResult) in BatchResultHandler()
361 void setSessionInfo (const xe::SessionInfo& sessionInfo) in setSessionInfo()
366 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult()
375 void testCaseResultUpdated (const xe::TestCaseResultPtr&) in testCaseResultUpdated()
379 void testCaseResultComplete (const xe::TestCaseResultPtr&) in testCaseResultComplete()
384 xe::BatchResult* m_batchResult;
387 void readLogFile (xe::BatchResult* batchResult, const char* filename) in readLogFile()
391 xe::TestLogParser parser (&handler); in readLogFile()
409 void printBatchResultSummary (const xe::TestNode* root, const xe::TestSet& testSet, const xe::Batch… in printBatchResultSummary()
411 int countByStatusCode[xe::TESTSTATUSCODE_LAST]; in printBatchResultSummary()
414 …for (xe::ConstTestNodeIterator iter = xe::ConstTestNodeIterator::begin(root); iter != xe::ConstTes… in printBatchResultSummary()
416 const xe::TestNode* node = *iter; in printBatchResultSummary()
417 if (node->getNodeType() == xe::TESTNODETYPE_TEST_CASE && testSet.hasNode(node)) in printBatchResultSummary()
419 const xe::TestCase* testCase = static_cast<const xe::TestCase*>(node); in printBatchResultSummary()
421 xe::TestStatusCode statusCode = xe::TESTSTATUSCODE_PENDING; in printBatchResultSummary()
427 xe::ConstTestCaseResultPtr resultData = batchResult.getTestCaseResult(fullPath.c_str()); in printBatchResultSummary()
428 xe::TestCaseResult result; in printBatchResultSummary()
429 xe::TestResultParser parser; in printBatchResultSummary()
431 xe::parseTestCaseResultFromData(&parser, &result, *resultData.get()); in printBatchResultSummary()
441 for (int code = 0; code < xe::TESTSTATUSCODE_LAST; code++) in printBatchResultSummary()
444 …printf(" %20s: %5d\n", xe::getTestStatusCodeName((xe::TestStatusCode)code), countByStatusCode[cod… in printBatchResultSummary()
451 void writeInfoLog (const xe::InfoLog& log, const char* filename) in writeInfoLog()
459 xe::CommLink* createCommLink (const CommandLine& cmdLine) in createCommLink()
463 xe::LocalTcpIpLink* link = new xe::LocalTcpIpLink(); in createCommLink()
484 xe::TcpIpLink* link = new xe::TcpIpLink(); in createCommLink()
495 …throw xe::Error("Failed to connect to ExecServer at: " + cmdLine.serverBinOrAddress + ":" + de::to… in createCommLink()
512 static xe::BatchExecutor* s_executor = DE_NULL;
520 void setupSignalHandler (xe::BatchExecutor* executor) in setupSignalHandler()
546 static xe::BatchExecutor* s_executor = DE_NULL;
554 void setupSignalHandler (xe::BatchExecutor* executor) in setupSignalHandler()
568 void setupSignalHandler (xe::BatchExecutor*) in setupSignalHandler()
580 xe::TestRoot root; in runExecutor()
586 xe::TestSet testSet; in runExecutor()
593 throw xe::Error("None of the test case lists contains tests matching any of the test sets."); in runExecutor()
600 xe::BatchResult batchResult; in runExecutor()
601 xe::InfoLog infoLog; in runExecutor()
608 de::UniquePtr<xe::CommLink> commLink(createCommLink(cmdLine)); in runExecutor()
610xe::BatchExecutor executor(cmdLine.targetCfg, commLink.get(), &root, testSet, &batchResult, &infoL… in runExecutor()
624 xe::writeBatchResultToFile(batchResult, cmdLine.outFile.c_str()); in runExecutor()
642 xe::writeBatchResultToFile(batchResult, cmdLine.outFile.c_str()); in runExecutor()
658 if (commLink->getState(err) == xe::COMMLINKSTATE_ERROR) in runExecutor()
659 throw xe::Error(err); in runExecutor()