tests:Fix unexpected error text
authorTobin Ehlis <tobine@google.com>
Fri, 3 Nov 2017 20:26:24 +0000 (14:26 -0600)
committerTobin Ehlis <tobine@google.com>
Mon, 6 Nov 2017 23:29:51 +0000 (16:29 -0700)
Update InvalidCmdBufferDescriptorSetImageSamplerDestroyed test to have
new unexpected error text based on "valid" being added to spec VU.

tests/layer_validation_tests.cpp

index 7ab1b02..06189b2 100644 (file)
@@ -7054,7 +7054,8 @@ TEST_F(VkLayerTest, InvalidCmdBufferDescriptorSetImageSamplerDestroyed) {
     // TODO - though the particular error above doesn't re-occur, there are other 'unexpecteds' still to clean up
     vkQueueWaitIdle(m_device->m_queue);
     m_errorMonitor->SetUnexpectedError(
-        "pDescriptorSets must be a pointer to an array of descriptorSetCount VkDescriptorSet handles, each element of which must "
+        "pDescriptorSets must be a valid pointer to an array of descriptorSetCount VkDescriptorSet handles, each element of which "
+        "must "
         "either be a valid handle or VK_NULL_HANDLE");
     m_errorMonitor->SetUnexpectedError("Unable to remove DescriptorSet obj");
     vkFreeDescriptorSets(m_device->device(), ds_pool, 1, &descriptorSet);