Lines Matching defs:log

126 											 tcu::TestLog&				log,
394 std::stringstream log;
451 log << "Extra instances of message were found: (" << id << ") with "
454 return VerificationResult(QP_TEST_RESULT_FAIL, "Extra instances of a deterministic message were present", log.str());
458 log << "Instances of message were missing: (" << id << ") with "
461 return VerificationResult(QP_TEST_RESULT_FAIL, "Message missing", log.str());
468 log << "Extra instances of message were found but the message is non-deterministic(warning): (" << id << ") with "
471 return VerificationResult(QP_TEST_RESULT_QUALITY_WARNING, "Extra instances of a message were present", log.str());
475 log << "Instances of message were missing but the message is non-deterministic(warning): (" << id << ") with "
478 return VerificationResult(QP_TEST_RESULT_QUALITY_WARNING, "Message missing", log.str());
485 log << "Extra instances of message were found but the message is non-deterministic(ignored): (" << id << ") with "
488 return VerificationResult(QP_TEST_RESULT_PASS, "", log.str());
492 log << "Instances of message were missing but the message is non-deterministic(ignored): (" << id << ") with "
495 return VerificationResult(QP_TEST_RESULT_PASS, "", log.str());
501 log << "Message was found when expected: ("<< id << ") with "
503 return VerificationResult(QP_TEST_RESULT_PASS, "", log.str());
512 log << "Message was excluded correctly: (" << id << ") with "
514 return VerificationResult(QP_TEST_RESULT_PASS, "", log.str());
519 log << "A message was not excluded as it should have been: (" << id << ") with "
522 return VerificationResult(QP_TEST_RESULT_FAIL, "A message was not filtered out", log.str());
527 log << "A message was not excluded as it should have been: (" << id << ") with "
529 return VerificationResult(QP_TEST_RESULT_FAIL, "A message was not filtered out", log.str());
537 TestLog& log = m_testCtx.getLog();
546 log << TestLog::Message << "A message was expected but none was reported" << TestLog::EndMessage;
551 log << TestLog::Message << "A message was expected but none was reported. Running without a debug context" << TestLog::EndMessage;
561 TestLog& log = m_testCtx.getLog();
566 log << TestLog::Message << "Message source was " << glu::getDebugMessageSourceStr(message.id.source)
573 log << TestLog::Message << "Message type was " << glu::getDebugMessageTypeStr(message.id.type)
580 TestLog& log = m_testCtx.getLog();
582 log << TestLog::Message << "Driver says: \"" << message.message << "\"" << TestLog::EndMessage;
587 log << TestLog::Message << "Message message was empty" << TestLog::EndMessage;
602 TestLog& log = m_testCtx.getLog();
612 log << TestLog::Message << "Message id was " << message.id.id
619 log << TestLog::Message << "Message severity was " << glu::getDebugMessageSeverityStr(message.severity)
665 tcu::TestLog& log = m_testCtx.getLog();
666 DebugMessageTestContext context = DebugMessageTestContext(*this, m_context.getRenderContext(), m_context.getContextInfo(), log, m_results, true);
701 // Generate errors, verify that each error results in a log entry
734 tcu::TestLog& log = m_testCtx.getLog();
735 DebugMessageTestContext context = DebugMessageTestContext(*this, m_context.getRenderContext(), m_context.getContextInfo(), log, m_results, true);
744 gl.getDebugMessageLog(numMsg, 0, DE_NULL, DE_NULL, DE_NULL, DE_NULL, DE_NULL, DE_NULL); // clear log
758 TestLog& log = m_testCtx.getLog();
771 log << TestLog::Message << "A message was expected but none was reported (empty message log)" << TestLog::EndMessage;
776 log << TestLog::Message << "A message was expected but none was reported (empty message log). Running without a debug context" << TestLog::EndMessage;
781 // There may be messages other than the error we are looking for in the log.
800 log << TestLog::Message << "Driver says: \"" << lastMsg.message << "\"" << TestLog::EndMessage;
839 tcu::TestLog& log = m_testCtx.getLog();
840 DebugMessageTestContext context = DebugMessageTestContext(*this, m_context.getRenderContext(), m_context.getContextInfo(), log, m_results, true);
859 TestLog& log = m_testCtx.getLog();
867 log << TestLog::Message
872 log << TestLog::Message
881 // Generate errors, log the types, disable some, regenerate errors, verify correct errors (not)reported
996 tcu::TestLog& log = m_testCtx.getLog();
997 DebugMessageTestContext context = DebugMessageTestContext(*this, m_context.getRenderContext(), m_context.getContextInfo(), log, m_results, uselog);
998 tcu::ScopedLogSection section (log, "message gen", desc);
1094 TestLog& log = m_testCtx.getLog();
1095 const tcu::ScopedLogSection section (log, "", "Setting message filters");
1103 log << TestLog::Message << "Setting messages with"
1112 log << TestLog::Message << "Setting message (" << MessageID(filter.source, filter.type, filter.ids[ndx]) << ") to " << (filter.enabled ? "enabled" : "disabled") << TestLog::EndMessage;
1168 TestLog& log = m_testCtx.getLog();
1171 log << TestLog::Section("verification", "Verifying");
1181 log << TestLog::Message << "A message has variable severity between instances: (" << msg.id << ") with severity "
1197 log << TestLog::Message << "A message has variable severity between instances: (" << msg.id << ") with severity "
1217 log << TestLog::Message << result.logMessage << TestLog::EndMessage;
1223 log << TestLog::EndSection;
1263 tcu::TestLog& log = m_testCtx.getLog();
1293 tcu::ScopedLogSection section1 (log, "", "Pushing Debug Group");
1307 tcu::ScopedLogSection section2 (log, "", "Pushing Debug Group");
1377 tcu::TestLog& log = m_testCtx.getLog();
1378 glu::CallLogWrapper wrapper (gl, log);
1474 tcu::TestLog& log = m_testCtx.getLog();
1475 DebugMessageTestContext context = DebugMessageTestContext(*this, m_context.getRenderContext(), m_context.getContextInfo(), log, m_results, true);
1479 // Clear log from earlier messages
1493 if (m_useCallbacks) // will use log otherwise
1500 tcu::ScopedLogSection section(log, "reference run", "Reference run (synchronous)");
1511 log << TestLog::Message << "Reference run produced no messages, nothing to verify" << TestLog::EndMessage;
1534 tcu::ScopedLogSection section (log, "result run", "Result run (asynchronous)");
1545 verify(true); // log
1551 log << TestLog::Message << "Passed after ~" << waited << "ms of waiting" << TestLog::EndMessage;
1557 verify(true); // log
1559 log << TestLog::Message << "Waited for ~" << waited << "ms without getting all expected messages" << TestLog::EndMessage;
1604 // Note that we can never guarantee getting all messages back when using logs/fetching as the GL may create more than its log size limit during an arbitrary period of time
1638 TestLog& log = m_testCtx.getLog();
1653 log << TestLog::Message << result.logMessage << TestLog::EndMessage;
1804 tcu::TestLog& log,
1807 : NegativeTestContext (host, renderCtx, ctxInfo, log, results, enableLog)
3085 tcu::TestCaseGroup* const host = new tcu::TestCaseGroup(m_testCtx, "log", "Reporting of standard API errors via log");