for (int caseNdx = 0; caseNdx < (int)cases.size(); ++caseNdx)
{
- const BoundingBox& boundingBox = cases[caseNdx];
+ const tcu::ScopedLogSection section (m_testCtx.getLog(), "Iteration", "Iteration " + de::toString(caseNdx+1));
+ const BoundingBox& boundingBox = cases[caseNdx];
gl.glPrimitiveBoundingBoxEXT(boundingBox.min.x(), boundingBox.min.y(), boundingBox.min.z(), boundingBox.min.w(),
boundingBox.max.x(), boundingBox.max.y(), boundingBox.max.z(), boundingBox.max.w());
m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Image verification failed");
}
else
- m_testCtx.getLog() << tcu::TestLog::Message << "Result image ok." << tcu::TestLog::EndMessage;
+ {
+ m_testCtx.getLog()
+ << tcu::TestLog::Message
+ << "Result image ok."
+ << tcu::TestLog::EndMessage
+ << tcu::TestLog::ImageSet("Images", "Image verification")
+ << tcu::TestLog::Image("Viewport", "Viewport contents", viewportSurface.getAccess())
+ << tcu::TestLog::EndImageSet;
+ }
}
class LineRenderCase : public BBoxRenderCase
m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Image verification failed");
}
else
- m_testCtx.getLog() << tcu::TestLog::Message << "Result image ok." << tcu::TestLog::EndMessage;
+ {
+ m_testCtx.getLog()
+ << tcu::TestLog::Message
+ << "Result image ok."
+ << tcu::TestLog::EndMessage
+ << tcu::TestLog::ImageSet("Images", "Image verification")
+ << tcu::TestLog::Image("Viewport", "Viewport contents", viewportSurface.getAccess())
+ << tcu::TestLog::EndImageSet;
+ }
}
tcu::IVec2 LineRenderCase::getNumberOfLinesRange (int queryAreaBegin, int queryAreaEnd, float patternStart, float patternSize, int viewportArea, QueryDirection queryDir) const
m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Image verification failed");
}
else
- m_testCtx.getLog() << tcu::TestLog::Message << "Result image ok." << tcu::TestLog::EndMessage;
+ {
+ m_testCtx.getLog()
+ << tcu::TestLog::Message
+ << "Result image ok."
+ << tcu::TestLog::EndMessage
+ << tcu::TestLog::ImageSet("Images", "Image verification")
+ << tcu::TestLog::Image("Viewport", "Viewport contents", viewportSurface.getAccess())
+ << tcu::TestLog::EndImageSet;
+ }
}
struct PointSorter
m_testCtx.getLog()
<< tcu::TestLog::Message
<< "Result image ok."
- << tcu::TestLog::EndMessage;
+ << tcu::TestLog::EndMessage
+ << tcu::TestLog::ImageSet("Images", "Image verification")
+ << tcu::TestLog::Image("Viewport", "Viewport contents", viewport.getAccess())
+ << tcu::TestLog::EndImageSet;
return true;
}
}
m_testCtx.getLog()
<< tcu::TestLog::Message
<< "Result image ok."
- << tcu::TestLog::EndMessage;
+ << tcu::TestLog::EndMessage
+ << tcu::TestLog::ImageSet("Images", "Image verification")
+ << tcu::TestLog::Image("Viewport", "Viewport contents", viewport.getAccess())
+ << tcu::TestLog::EndImageSet;
return !anyError;
}