HomeSort by relevance Sort by last modified time
    Searched refs:m_testCtx (Results 1 - 25 of 347) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/deqp/modules/internal/
ditDelibsTests.cpp 78 addChild(new SelfCheckCase(m_testCtx, "array", "dePoolArray_selfTest()", dePoolArray_selfTest));
79 addChild(new SelfCheckCase(m_testCtx, "heap", "dePoolHeap_selfTest()", dePoolHeap_selfTest));
80 addChild(new SelfCheckCase(m_testCtx, "hash", "dePoolHash_selfTest()", dePoolHash_selfTest));
81 addChild(new SelfCheckCase(m_testCtx, "set", "dePoolSet_selfTest()", dePoolSet_selfTest));
82 addChild(new SelfCheckCase(m_testCtx, "hash_set", "dePoolHashSet_selfTest()", dePoolHashSet_selfTest));
83 addChild(new SelfCheckCase(m_testCtx, "hash_array", "dePoolHashArray_selfTest()", dePoolHashArray_selfTest));
84 addChild(new SelfCheckCase(m_testCtx, "multi_set", "dePoolMultiSet_selfTest()", dePoolMultiSet_selfTest));
104 m_testCtx.getLog() << TestLog::Message << getDescription() << " returned " << m_func() << TestLog::EndMessage;
105 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
123 addChild(new SelfCheckCase(m_testCtx, "thread", "deThread_selfTest()", deThread_selfTest))
    [all...]
ditTestPackage.cpp 46 addChild(new TestLogTests (m_testCtx));
47 addChild(new ImageIOTests (m_testCtx));
48 addChild(new ImageCompareTests (m_testCtx));
49 addChild(createSeedBuilderTests (m_testCtx));
91 addChild(new BuildInfoTests (m_testCtx));
92 addChild(new DelibsTests (m_testCtx));
93 addChild(new FrameworkTests (m_testCtx));
94 addChild(new DeqpTests (m_testCtx));
ditImageCompareTests.cpp 75 tcu::ImageIO::loadImage(refImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_refImg).getPath());
76 tcu::ImageIO::loadImage(cmpImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_cmpImg).getPath());
86 m_testCtx.getLog() << TestLog::Float("Result", "Result metric", "", QP_KEY_TAG_NONE, result)
93 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL,
126 loadImageRGBA8(refImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_refImg).getPath());
127 loadImageRGBA8(cmpImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_cmpImg).getPath());
131 result = tcu::bilinearCompare(m_testCtx.getLog(), "CompareResult", "Image comparison result", refImg, cmpImg, m_threshold, tcu::COMPARE_LOG_EVERYTHING);
135 m_testCtx.getLog() << TestLog::Integer("CompareTime", "Comparison time", "us", QP_KEY_TAG_TIME, compareTime);
139 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL,
163 addChild(new FuzzyComparisonMetricCase(m_testCtx, "identical", "cube_ref.png", "cube_ref.png", 0.0f, 0.000001f))
    [all...]
ditSeedBuilderTests.cpp 53 TestLog& log = m_testCtx.getLog();
63 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid seed");
65 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
85 TestLog& log = m_testCtx.getLog();
103 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Seed seems to only depends on first value.");
105 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Seed seems to only depends on second value.");
107 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
123 addChild(new SeedBuilderTest<bool>(m_testCtx, true, 132088003u, "bool_true", "Seed from boolean true."));
124 addChild(new SeedBuilderTest<bool>(m_testCtx, false, 50600761u, "bool_false", "Seed from boolean false."));
126 addChild(new SeedBuilderTest<deInt8>(m_testCtx, 0, 62533730u, "int8_zero", "Seed from int8 zero."))
    [all...]
ditImageIOTests.cpp 52 m_testCtx.getLog() << TestLog::Message << "Loading image from file '" << m_filename << "'" << TestLog::EndMessage;
55 tcu::ImageIO::loadImage(texture, m_testCtx.getArchive(), m_filename.c_str());
57 m_testCtx.getLog() << TestLog::Message << "Loaded " << texture.getWidth() << "x" << texture.getHeight() << "x" << texture.getDepth() << " image with format " << texture.getFormat() << TestLog::EndMessage;
68 m_testCtx.getLog() << TestLog::Message << "ERROR: expected hash " << tcu::toHex(m_expectedHash) << ", got " << tcu::toHex(hash) << TestLog::EndMessage;
69 m_testCtx.getLog() << TestLog::Image("Image", "Loaded image", texture.getAccess());
70 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Hash check failed");
73 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
93 addChild(new ImageReadCase(m_testCtx, "rgb24_256x256", "internal/data/imageio/rgb24_256x256.png", 0x6efad777));
94 addChild(new ImageReadCase(m_testCtx, "rgb24_209x181", "internal/data/imageio/rgb24_209x181.png", 0xfd6ea668));
95 addChild(new ImageReadCase(m_testCtx, "rgba32_256x256", "internal/data/imageio/rgba32_256x256.png", 0xcf4883da))
    [all...]
ditBuildInfoTests.cpp 102 m_testCtx.getLog() << TestLog::Message << m_valueName << " = " << m_value << TestLog::EndMessage;
103 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
131 m_testCtx.getLog() << TestLog::Message << m_varName << " = " << logValue << TestLog::EndMessage;
133 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL,
162 m_testCtx.getLog()
167 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL,
190 addChild(new BuildInfoStringCase (m_testCtx, "date", "__DATE__", __DATE__));
191 addChild(new BuildInfoStringCase (m_testCtx, "time", "__TIME__", __TIME__));
192 addChild(new BuildInfoStringCase (m_testCtx, "de_debug", "DE_DEBUG", isDebug ? "1" : "not defined"));
193 addChild(new BuildEnumCase (m_testCtx, "de_os", "DE_OS", DE_OS, getOsName))
    [all...]
ditFrameworkTests.cpp 80 TestLog& log = m_testCtx.getLog();
121 m_testCtx.setTestResult((numPass == m_numSubCases) ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL,
144 TestLog& log = m_testCtx.getLog();
158 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Parsing passed, should have failed");
160 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Parsing failed as expected");
187 addChild(new CaseListParserCase(m_testCtx, "single_case", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)));
198 addChild(new CaseListParserCase(m_testCtx, "simple_group_1", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)));
210 addChild(new CaseListParserCase(m_testCtx, "simple_group_2", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)));
227 addChild(new CaseListParserCase(m_testCtx, "two_groups", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)));
244 addChild(new CaseListParserCase(m_testCtx, "case_group", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)))
    [all...]
  /external/deqp/modules/egl/
teglApiCase.cpp 69 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
90 m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getErrorStr(expected) << ", Got: " << eglu::getErrorStr(err) << TestLog::EndMessage;
91 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
92 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
101 m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getErrorStr(expectedA) << " or " << eglu::getErrorStr(expectedB) << ", Got: " << eglu::getErrorStr(err) << TestLog::EndMessage;
102 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
103 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
111 m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getBooleanStr(expected) << ", Got: " << eglu::getBooleanStr(got) << TestLog::EndMessage;
112 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
113 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid value")
    [all...]
  /external/deqp/modules/gles2/functional/
es2fApiCase.cpp 54 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
70 m_testCtx.getLog() << tcu::TestLog::Message << "// ERROR: expected " << glu::getErrorStr(expected) << tcu::TestLog::EndMessage;
71 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
72 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
82 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
83 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
92 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
93 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value");
103 m_testCtx.getLog() << tcu::TestLog::Message << "// No supported extensions available." << tcu::TestLog::EndMessage;
  /external/deqp/modules/gles2/
tes2Context.cpp 41 : m_testCtx (testCtx)
47 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(2,0));
tes2Context.hpp 51 tcu::TestContext& getTestContext (void) { return m_testCtx; }
57 tcu::TestContext& m_testCtx;
  /external/deqp/modules/gles3/
tes3Context.cpp 38 : m_testCtx (testCtx)
44 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,0));
tes3Context.hpp 51 tcu::TestContext& getTestContext (void) { return m_testCtx; }
57 tcu::TestContext& m_testCtx;
  /external/deqp/framework/common/
tcuTestSessionExecutor.cpp 49 : m_testCtx (testCtx)
165 TestLog& log = m_testCtx.getLog();
171 m_testCtx.setTestResult(QP_TEST_RESULT_LAST, "");
172 m_testCtx.setTerminateAfter(false);
186 m_testCtx.setTestResult(QP_TEST_RESULT_RESOURCE_ERROR, "Failed to allocate memory in test case init");
187 m_testCtx.setTerminateAfter(true);
193 m_testCtx.setTestResult(e.getTestResult(), e.getMessage());
194 m_testCtx.setTerminateAfter(e.isFatal());
200 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, e.getMessage());
204 DE_ASSERT(initOk || m_testCtx.getTestResult() != QP_TEST_RESULT_LAST)
    [all...]
tcuApp.cpp 51 , m_testCtx (DE_NULL)
74 m_testCtx = new TestContext(m_platform, archive, log, cmdLine, m_watchDog);
77 m_testRoot = new TestPackageRoot(*m_testCtx, TestPackageRegistry::getSingleton());
81 m_testExecutor = new TestSessionExecutor(*m_testRoot, *m_testCtx);
83 writeXmlCaselists(*m_testRoot, *m_testCtx, m_testCtx->getCommandLine());
85 writeTxtCaselists(*m_testRoot, *m_testCtx, m_testCtx->getCommandLine());
105 delete m_testCtx;
123 DE_ASSERT(m_testCtx->getCommandLine().getRunMode() != RUNMODE_EXECUTE)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fInternalFormatQueryTests.cpp 62 if (!sampleCounts.verifyValidity(m_testCtx))
65 m_testCtx.getLog() << TestLog::Message << "// sample counts is " << sampleCounts << TestLog::EndMessage;
84 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected sample count to be at least one; got " << sampleCount << TestLog::EndMessage;
85 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
86 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value");
92 m_testCtx.getLog() << TestLog::Message
95 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
96 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid order");
107 if (maxSamples.verifyValidity(m_testCtx))
112 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected maximum value in SAMPLES (" << maximumFormatSa (…)
    [all...]
es3fStringQueryTests.cpp 61 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid string");
67 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid string");
101 m_testCtx.getLog() << TestLog::Message << "// ERROR: MINOR_VERSION is " << stateVersionMinor << TestLog::EndMessage;
102 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid version.");
148 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid string");
170 m_testCtx.getLog() << TestLog::Message << "// ERROR: NUM_EXTENSIONS is " << numExtensions << "; got " << extensions.size() << " extensions" << TestLog::EndMessage;
171 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
172 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got non-consistent number of extensions");
183 m_testCtx.getLog() << TestLog::Message << "// ERROR: extension " << extension << " found with GetStringi was not found in glGetString(GL_EXTENSIONS)" << TestLog::EndMessage;
184 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS
    [all...]
es3fApiCase.cpp 56 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
73 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
74 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
84 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
85 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
94 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
95 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value");
es3fDefaultVertexArrayObjectTests.cpp 52 glu::CallLogWrapper gl(m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
54 m_testCtx.getLog() << tcu::TestLog::Message
66 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
  /external/deqp/modules/gles31/
tes31Context.cpp 39 : m_testCtx (testCtx)
43 if (m_testCtx.getCommandLine().getRunMode() == tcu::RUNMODE_EXECUTE)
60 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,1));
tes31Context.hpp 51 tcu::TestContext& getTestContext (void) { return m_testCtx; }
63 tcu::TestContext& m_testCtx;
  /external/deqp/modules/gles31/functional/
es31fAndroidExtensionPackES31ATests.cpp 93 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
96 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
97 m_testCtx.getLog()
106 if (result.verifyValidity(m_testCtx) && result < m_limit)
108 m_testCtx.getLog()
113 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Too low implementation limit");
138 m_testCtx.getLog()
145 m_testCtx.getLog()
150 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
154 m_testCtx.getLog(
    [all...]
es31fProgramPipelineStateQueryTests.cpp 103 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
104 tcu::ResultCollector result (m_testCtx.getLog(), " // ERROR: ");
107 const tcu::ScopedLogSection section(m_testCtx.getLog(), "VtxProg", "Vertex program");
108 m_testCtx.getLog() << vtxProgram;
112 const tcu::ScopedLogSection section(m_testCtx.getLog(), "FrgProg", "Fragment program");
113 m_testCtx.getLog() << frgProgram;
120 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
130 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
135 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Set", "Set");
142 result.setTestContextResult(m_testCtx);
    [all...]
es31fDefaultVertexArrayObjectTests.cpp 54 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
56 m_testCtx.getLog() << tcu::TestLog::Message
68 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
es31fProgramStateQueryTests.cpp 93 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
94 tcu::ResultCollector result (m_testCtx.getLog(), " // ERROR: ");
105 const tcu::ScopedLogSection section(m_testCtx.getLog(), "VtxShader", "Vertex shader");
106 m_testCtx.getLog() << vtxShader;
110 const tcu::ScopedLogSection section(m_testCtx.getLog(), "FrgShader", "Fragment shader");
111 m_testCtx.getLog() << frgShader;
120 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Initial", "Initial");
127 const tcu::ScopedLogSection section (m_testCtx.getLog(), "SetFalse", "SetFalse");
147 const tcu::ScopedLogSection section (m_testCtx.getLog(), "SetTrue", "SetTrue");
166 result.setTestContextResult(m_testCtx);
    [all...]

Completed in 1155 milliseconds

1 2 3 4 5 6 7 8 91011>>