Home
last modified time | relevance | path

Searched refs:TestStatus (Results 1 – 25 of 249) sorted by relevance

12345678910

/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationBasicFenceTests.cpp44 tcu::TestStatus basicOneFenceCase (Context& context) in basicOneFenceCase()
76 return tcu::TestStatus::fail("Created fence should be in unsignaled state"); in basicOneFenceCase()
79 return tcu::TestStatus::fail("vkWaitForFences should return VK_TIMEOUT"); in basicOneFenceCase()
82 return tcu::TestStatus::fail("Created fence should be in unsignaled state"); in basicOneFenceCase()
90 return tcu::TestStatus::fail("vkWaitForFences should return VK_SUCCESS"); in basicOneFenceCase()
93 return tcu::TestStatus::fail("Fence should be in signaled state"); in basicOneFenceCase()
96 return tcu::TestStatus::fail("Couldn't reset the fence"); in basicOneFenceCase()
99 return tcu::TestStatus::fail("Fence after reset should be in unsignaled state"); in basicOneFenceCase()
101 return tcu::TestStatus::pass("Basic one fence tests passed"); in basicOneFenceCase()
104 tcu::TestStatus basicMultiFenceCase (Context& context) in basicMultiFenceCase()
[all …]
DvktSynchronizationBasicEventTests.cpp44 tcu::TestStatus hostResetSetEventCase (Context& context) in hostResetSetEventCase()
58 return tcu::TestStatus::fail("Couldn't create event"); in hostResetSetEventCase()
63 return tcu::TestStatus::fail("Created event should be in unsignaled state"); in hostResetSetEventCase()
66 return tcu::TestStatus::fail("Couldn't set event"); in hostResetSetEventCase()
69 return tcu::TestStatus::fail("Event should be in signaled state after set"); in hostResetSetEventCase()
72 return tcu::TestStatus::fail("Couldn't reset event"); in hostResetSetEventCase()
75 return tcu::TestStatus::fail("Event should be in unsignaled state after reset"); in hostResetSetEventCase()
77 return tcu::TestStatus::pass("Tests set and reset event on host pass"); in hostResetSetEventCase()
80 tcu::TestStatus deviceResetSetEventCase (Context& context) in deviceResetSetEventCase()
110 return tcu::TestStatus::fail("Event should be in signaled state after set"); in deviceResetSetEventCase()
[all …]
DvktSynchronizationBasicSemaphoreTests.cpp47 tcu::TestStatus basicOneQueueCase (Context& context) in basicOneQueueCase()
96 return tcu::TestStatus::fail("Basic semaphore tests with one queue failed"); in basicOneQueueCase()
98 return tcu::TestStatus::pass("Basic semaphore tests with one queue passed"); in basicOneQueueCase()
101 tcu::TestStatus basicChainCase (Context& context) in basicChainCase()
148 return tcu::TestStatus::pass("Basic semaphore chain test passed"); in basicChainCase()
150 return tcu::TestStatus::fail("Basic semaphore chain test failed"); in basicChainCase()
153 tcu::TestStatus basicMultiQueueCase (Context& context) in basicMultiQueueCase()
289 return tcu::TestStatus::fail("Basic semaphore tests with multi queue failed"); in basicMultiQueueCase()
292 return tcu::TestStatus::fail("Basic semaphore tests with multi queue failed"); in basicMultiQueueCase()
309 return tcu::TestStatus::fail("Basic semaphore tests with multi queue failed"); in basicMultiQueueCase()
[all …]
DvktSynchronizationInternallySynchronizedObjectsTests.cpp62 using tcu::TestStatus;
276 TestStatus executeComputePipeline (const Context& context, const VkPipeline& pipeline, const VkPipe… in executeComputePipeline()
341 return TestStatus::fail("The data don't match"); in executeComputePipeline()
345 return TestStatus::pass("Passed"); in executeComputePipeline()
350 TestStatus executeGraphicPipeline (const Context& context, const VkPipeline& pipeline, const VkPipe… in executeGraphicPipeline()
435 return TestStatus::fail("The data don't match"); in executeGraphicPipeline()
439 return TestStatus::pass("Passed"); in executeGraphicPipeline()
471 virtual TestStatus runThread () = 0;
487 TestStatus result = runThread(); in run()
523 TestStatus run (void) in run()
[all …]
DvktSynchronizationOperationSingleQueueTests.cpp79 tcu::TestStatus iterate (void) in iterate()
119 return tcu::TestStatus::fail("Memory contents don't match"); in iterate()
122 return tcu::TestStatus::pass("OK"); in iterate()
134 tcu::TestStatus iterate (void) in iterate()
173 return tcu::TestStatus::fail("Memory contents don't match"); in iterate()
176 return tcu::TestStatus::pass("OK"); in iterate()
188 tcu::TestStatus iterate (void) in iterate()
261 return tcu::TestStatus::fail("Memory contents don't match"); in iterate()
264 return tcu::TestStatus::pass("OK"); in iterate()
276 tcu::TestStatus iterate (void) in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewCreateTests.cpp74 virtual tcu::TestStatus iterate (void);
83 virtual tcu::TestStatus createTestBuffer (VkDeviceSize size,
93 virtual tcu::TestStatus createTestBuffer (VkDeviceSize size,
103 virtual tcu::TestStatus createTestBuffer (VkDeviceSize size,
145 tcu::TestStatus BufferSuballocation::createTestBuffer (VkDeviceSize size, in createTestBuffer()
173 …return tcu::TestStatus::fail("Buffer creation failed! (Error code: " + de::toString(error.getMessa… in createTestBuffer()
182 return tcu::TestStatus::fail(errorMsg.str()); in createTestBuffer()
199 …return tcu::TestStatus::fail("Alloc memory failed! (Error code: " + de::toString(error.getMessage(… in createTestBuffer()
203 return tcu::TestStatus::fail("Bind buffer memory failed!"); in createTestBuffer()
205 return tcu::TestStatus::incomplete(); in createTestBuffer()
[all …]
DvktApiCommandBuffersTests.cpp339 tcu::TestStatus createPoolNullParamsTest(Context& context) in createPoolNullParamsTest()
347 return tcu::TestStatus::pass("Command Pool allocated correctly."); in createPoolNullParamsTest()
350 tcu::TestStatus createPoolNonNullAllocatorTest(Context& context) in createPoolNonNullAllocatorTest()
367 return tcu::TestStatus::pass("Command Pool allocated correctly."); in createPoolNonNullAllocatorTest()
370 tcu::TestStatus createPoolTransientBitTest(Context& context) in createPoolTransientBitTest()
386 return tcu::TestStatus::pass("Command Pool allocated correctly."); in createPoolTransientBitTest()
389 tcu::TestStatus createPoolResetBitTest(Context& context) in createPoolResetBitTest()
405 return tcu::TestStatus::pass("Command Pool allocated correctly."); in createPoolResetBitTest()
408 tcu::TestStatus resetPoolReleaseResourcesBitTest(Context& context) in resetPoolReleaseResourcesBitTest()
426 return tcu::TestStatus::pass("Command Pool allocated correctly."); in resetPoolReleaseResourcesBitTest()
[all …]
DvktApiDeviceInitializationTests.cpp59 tcu::TestStatus createInstanceTest (Context& context) in createInstanceTest()
204 return tcu::TestStatus(resultCollector.getResult(), resultCollector.getMessage()); in createInstanceTest()
207 tcu::TestStatus createInstanceWithInvalidApiVersionTest (Context& context) in createInstanceWithInvalidApiVersionTest()
297 return tcu::TestStatus(resultCollector.getResult(), resultCollector.getMessage()); in createInstanceWithInvalidApiVersionTest()
300 tcu::TestStatus createInstanceWithNullApplicationInfoTest (Context& context) in createInstanceWithNullApplicationInfoTest()
330 return tcu::TestStatus(resultCollector.getResult(), resultCollector.getMessage()); in createInstanceWithNullApplicationInfoTest()
333 tcu::TestStatus createInstanceWithUnsupportedExtensionsTest (Context& context) in createInstanceWithUnsupportedExtensionsTest()
380 return tcu::TestStatus::pass("Pass, creating instance with unsupported extension was rejected."); in createInstanceWithUnsupportedExtensionsTest()
383 return tcu::TestStatus::fail("Fail, creating instance with unsupported extensions succeeded."); in createInstanceWithUnsupportedExtensionsTest()
387 tcu::TestStatus createDeviceTest (Context& context) in createDeviceTest()
[all …]
DvktApiBufferTests.cpp100 virtual tcu::TestStatus iterate (void);
101 virtual tcu::TestStatus bufferCreateAndAllocTest (VkDeviceSize size);
239 virtual tcu::TestStatus bufferCreateAndAllocTest (VkDeviceSize size);
321 tcu::TestStatus BufferTestInstance::bufferCreateAndAllocTest (VkDeviceSize size) in bufferCreateAndAllocTest()
395 …return tcu::TestStatus::fail("Buffer creation failed! (" + de::toString(getResultName(result)) + "… in bufferCreateAndAllocTest()
410 return tcu::TestStatus::fail(errorMsg.str()); in bufferCreateAndAllocTest()
435 …return tcu::TestStatus::fail("Unable to allocate " + de::toString(memReqs.size) + " bytes of memor… in bufferCreateAndAllocTest()
487 …return tcu::TestStatus::fail("Bind sparse buffer memory failed! (requested memory size: " + de::to… in bufferCreateAndAllocTest()
492 …return tcu::TestStatus::fail("Bind buffer memory failed! (requested memory size: " + de::toString(… in bufferCreateAndAllocTest()
494 return tcu::TestStatus::pass("Pass"); in bufferCreateAndAllocTest()
[all …]
DvktApiMaintenance3Check.cpp65 virtual tcu::TestStatus iterate (void) in iterate()
91 return tcu::TestStatus::fail("Fail"); in iterate()
94 return tcu::TestStatus::fail("Fail"); in iterate()
98 return tcu::TestStatus::pass("Pass"); in iterate()
125 virtual tcu::TestStatus iterate (void) in iterate()
192 return tcu::TestStatus::fail("fail"); in iterate()
213 return tcu::TestStatus::fail("fail"); in iterate()
216 return tcu::TestStatus::pass("Pass"); in iterate()
DvktApiFeatureInfo.cpp599 tcu::TestStatus enumeratePhysicalDevices (Context& context) in enumeratePhysicalDevices()
612 return tcu::TestStatus(results.getResult(), results.getMessage()); in enumeratePhysicalDevices()
615 tcu::TestStatus enumeratePhysicalDeviceGroups (Context& context) in enumeratePhysicalDeviceGroups()
631 return tcu::TestStatus(results.getResult(), results.getMessage()); in enumeratePhysicalDeviceGroups()
801 tcu::TestStatus enumerateInstanceLayers (Context& context) in enumerateInstanceLayers()
818 return tcu::TestStatus(results.getResult(), results.getMessage()); in enumerateInstanceLayers()
821 tcu::TestStatus enumerateInstanceExtensions (Context& context) in enumerateInstanceExtensions()
876 return tcu::TestStatus(results.getResult(), results.getMessage()); in enumerateInstanceExtensions()
879 tcu::TestStatus testNoKhxExtensions (Context& context) in testNoKhxExtensions()
917 return tcu::TestStatus::pass("No extensions begining with \"VK_KHX\""); in testNoKhxExtensions()
[all …]
DvktApiDescriptorSetTests.cpp70 tcu::TestStatus descriptorSetLayoutLifetimeGraphicsTest (Context& context) in descriptorSetLayoutLifetimeGraphicsTest()
182 return tcu::TestStatus::pass("Pass"); in descriptorSetLayoutLifetimeGraphicsTest()
185 tcu::TestStatus descriptorSetLayoutLifetimeComputeTest (Context& context) in descriptorSetLayoutLifetimeComputeTest()
219 return tcu::TestStatus::pass("Pass"); in descriptorSetLayoutLifetimeComputeTest()
222 tcu::TestStatus emptyDescriptorSetLayoutTest (Context& context, VkDescriptorSetLayoutCreateFlags de… in emptyDescriptorSetLayoutTest()
243 return tcu::TestStatus::pass("Pass"); in emptyDescriptorSetLayoutTest()
DvktApiDescriptorPoolTests.cpp67 tcu::TestStatus resetDescriptorPoolTest (Context& context, const ResetDescriptorPoolTestParams para… in resetDescriptorPoolTest()
159 return tcu::TestStatus::pass("Pass"); in resetDescriptorPoolTest()
162 tcu::TestStatus outOfPoolMemoryTest (Context& context) in outOfPoolMemoryTest()
267 …return tcu::TestStatus::fail("Expected VK_ERROR_OUT_OF_POOL_MEMORY but got " + string(getResultNam… in outOfPoolMemoryTest()
275 return tcu::TestStatus::pass("Not validated"); in outOfPoolMemoryTest()
277 return tcu::TestStatus::pass("Pass"); in outOfPoolMemoryTest()
/external/deqp/framework/common/
DtcuTestCase.hpp179 class TestStatus class
182TestStatus (qpTestResult code, const std::string& description) : m_code(code), m_description(desc… in TestStatus() function in tcu::TestStatus
188 …static TestStatus pass (const std::string& description) { return TestStatus(QP_TEST_RESULT_PASS,… in pass()
189 …static TestStatus fail (const std::string& description) { return TestStatus(QP_TEST_RESULT_FAIL,… in fail()
190 static TestStatus incomplete (void) { return TestStatus(QP_TEST_RESULT_LAST, ""); } in incomplete()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp281 tcu::TestStatus createSurfaceTest (Context& context, Type wsiType) in createSurfaceTest()
287 return tcu::TestStatus::pass("Creating surface succeeded"); in createSurfaceTest()
290 tcu::TestStatus createSurfaceCustomAllocatorTest (Context& context, Type wsiType) in createSurfaceCustomAllocatorTest()
309 return tcu::TestStatus::fail("Detected invalid system allocation callback"); in createSurfaceCustomAllocatorTest()
313 return tcu::TestStatus::fail("Detected invalid system allocation callback"); in createSurfaceCustomAllocatorTest()
316 return tcu::TestStatus(QP_TEST_RESULT_QUALITY_WARNING, "Allocation callbacks were not used"); in createSurfaceCustomAllocatorTest()
318 return tcu::TestStatus::pass("Creating surface succeeded using custom allocator"); in createSurfaceCustomAllocatorTest()
321 tcu::TestStatus createSurfaceSimulateOOMTest (Context& context, Type wsiType) in createSurfaceSimulateOOMTest()
355 return tcu::TestStatus::fail("Detected invalid system allocation callback"); in createSurfaceSimulateOOMTest()
364 return tcu::TestStatus::fail("Detected invalid system allocation callback"); in createSurfaceSimulateOOMTest()
[all …]
DvktWsiDisplayTests.cpp194 tcu::TestStatus testGetPhysicalDeviceDisplayPropertiesKHR (void);
195 tcu::TestStatus testGetPhysicalDeviceDisplayPlanePropertiesKHR (void);
196 tcu::TestStatus testGetDisplayPlaneSupportedDisplaysKHR (void);
197 tcu::TestStatus testGetDisplayModePropertiesKHR (void);
198 tcu::TestStatus testCreateDisplayModeKHR (void);
199 tcu::TestStatus testGetDisplayPlaneCapabilitiesKHR (void);
200 tcu::TestStatus testCreateDisplayPlaneSurfaceKHR (void);
203 tcu::TestStatus testGetPhysicalDeviceDisplayProperties2KHR (void);
204 tcu::TestStatus testGetPhysicalDeviceDisplayPlaneProperties2KHR (void);
205 tcu::TestStatus testGetDisplayModeProperties2KHR (void);
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleShaderBuiltInTests.cpp205 tcu::TestStatus verifyImageData (const vk::VkImageCreateInfo& imageMSInfo,
223 template<> tcu::TestStatus MSInstance<MSInstanceSampleID>::verifyImageData (const vk::VkImageCreate… in verifyImageData()
242 return tcu::TestStatus::fail("gl_SampleID does not have correct value"); in verifyImageData()
246 return tcu::TestStatus::pass("Passed"); in verifyImageData()
320 template<> tcu::TestStatus MSInstance<MSInstanceSamplePosDistribution>::verifyImageData (const vk::… in verifyImageData()
343 return tcu::TestStatus::fail("gl_SamplePosition is not within interval [0,1]"); in verifyImageData()
351 return tcu::TestStatus::fail("Sample positions are not uniformly distributed within the pixel"); in verifyImageData()
366 return tcu::TestStatus::fail("gl_SamplePosition is not within interval [0,1]"); in verifyImageData()
376 return tcu::TestStatus::fail("Two samples have the same position"); in verifyImageData()
395 return tcu::TestStatus::fail("Sample positions are not uniformly distributed within the pixel"); in verifyImageData()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/
DvktInfoTests.cpp102 tcu::TestStatus logBuildInfo (Context& context) in logBuildInfo()
120 return tcu::TestStatus::pass("Not validated"); in logBuildInfo()
123 tcu::TestStatus logDeviceInfo (Context& context) in logDeviceInfo()
141 return tcu::TestStatus::pass("Not validated"); in logDeviceInfo()
144 tcu::TestStatus logPlatformInfo (Context& context) in logPlatformInfo()
155 return tcu::TestStatus::pass("Not validated"); in logPlatformInfo()
216 tcu::TestStatus logPlatformMemoryLimits (Context& context) in logPlatformMemoryLimits()
235 return tcu::TestStatus::pass("Pass"); in logPlatformMemoryLimits()
/external/deqp-deps/SPIRV-Tools/test/tools/
Dexpect_nosetest.py17 from spirv_test_framework import TestStatus
46 status = TestStatus(
59 status = TestStatus(
72 status = TestStatus(
/external/swiftshader/third_party/SPIRV-Tools/test/tools/
Dexpect_nosetest.py17 from spirv_test_framework import TestStatus
46 status = TestStatus(
59 status = TestStatus(
72 status = TestStatus(
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationLimitsTests.cpp63 tcu::TestStatus expectGreaterOrEqual(tcu::TestLog& log, const deUint32 expected, const deUint32 act… in expectGreaterOrEqual()
68 return tcu::TestStatus::pass("OK"); in expectGreaterOrEqual()
70 return tcu::TestStatus::fail("Value doesn't meet minimal spec requirements"); in expectGreaterOrEqual()
73 tcu::TestStatus deviceLimitsTestCase(Context& context, const LimitsCaseDefinition caseDef) in deviceLimitsTestCase()
107 return tcu::TestStatus::fail("Test error"); in deviceLimitsTestCase()
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.hpp143 tcu::TestStatus makeTessellationEvaluationFrameBufferTest(Context& context, vk::VkFormat format,
148 tcu::TestStatus makeGeometryFrameBufferTest(Context& context, vk::VkFormat format, SSBOData* extraD…
152 tcu::TestStatus allStages(Context& context, vk::VkFormat format,
157 tcu::TestStatus makeVertexFrameBufferTest(Context& context, vk::VkFormat format,
161 tcu::TestStatus makeFragmentFrameBufferTest(Context& context, vk::VkFormat format,
166 tcu::TestStatus makeComputeTest(
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageBlockShapes.cpp101 tcu::TestStatus iterate (void);
123 tcu::TestStatus ImageBlockShapesInstance::iterate (void) in iterate()
205 return tcu::TestStatus::pass("Pass (residencyStandard3DBlockShape disabled)"); in iterate()
240 return tcu::TestStatus::pass("Pass (residencyStandard2DMultisampleBlockShape disabled)"); in iterate()
272 return tcu::TestStatus::pass("Pass (residencyStandard2DMultisampleBlockShape disabled)"); in iterate()
304 return tcu::TestStatus::pass("Pass (residencyStandard2DMultisampleBlockShape disabled)"); in iterate()
336 return tcu::TestStatus::pass("Pass (residencyStandard2DMultisampleBlockShape disabled)"); in iterate()
370 return tcu::TestStatus::pass("Pass (residencyStandard2DBlockShape disabled)"); in iterate()
404 return tcu::TestStatus::pass("Passed"); in iterate()
408 return tcu::TestStatus::fail("Non-standard block shape used"); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolStatisticsTests.cpp207 tcu::TestStatus iterate (void);
209 virtual tcu::TestStatus executeTest (const VkCommandPool& cmdPool,
227 tcu::TestStatus ComputeInvocationsTestInstance::iterate (void) in iterate()
279 tcu::TestStatus ComputeInvocationsTestInstance::executeTest (const VkCommandPool& cmdPool, in executeTest()
360 return tcu::TestStatus::fail("QueryPoolResults incorrect"); in executeTest()
367 return tcu::TestStatus::fail("Compute shader didn't write data to the buffer"); in executeTest()
370 return tcu::TestStatus::pass("Pass"); in executeTest()
378 tcu::TestStatus executeTest (const VkCommandPool& cmdPool,
383 virtual tcu::TestStatus checkResult (const de::SharedPtr<Buffer> buffer,
393 tcu::TestStatus ComputeInvocationsSecondaryTestInstance::executeTest (const VkCommandPool& cmdPoo… in executeTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/vkrunner/
DvktVkRunnerTestCase.cpp204 tcu::TestStatus VkRunnerTestInstance::iterate (void) in iterate()
231 return tcu::TestStatus::fail("Fail"); in iterate()
233 return tcu::TestStatus::pass("Pass"); in iterate()
235 return tcu::TestStatus::incomplete(); in iterate()
238 return tcu::TestStatus::fail("Fail"); in iterate()
240 return tcu::TestStatus::fail("Not built with VkRunner support"); in iterate()

12345678910