test: Disable the existing WSI tests
authorChris Forbes <chrisforbes@google.com>
Wed, 12 Oct 2016 22:59:22 +0000 (11:59 +1300)
committerChris Forbes <chrisforbes@google.com>
Mon, 21 Nov 2016 22:45:12 +0000 (11:45 +1300)
The existing support in Swapchain for this is going to be generalized to
every known extension entrypoint in PV, but that hasn't happened yet.

Disable this test for now so we don't get random breakage as other bits
of swapchain get disassembled.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
tests/layer_validation_tests.cpp

index d3dc8c2..2331f8a 100644 (file)
@@ -1521,6 +1521,7 @@ TEST_F(VkLayerTest, InvalidMemoryMapping) {
     vkFreeMemory(m_device->device(), mem, NULL);
 }
 
+#if 0   // disabled until PV gets real extension enable checks
 TEST_F(VkLayerTest, EnableWsiBeforeUse) {
     VkResult err;
     bool pass;
@@ -1749,6 +1750,7 @@ TEST_F(VkLayerTest, EnableWsiBeforeUse) {
     vkDestroySwapchainKHR(m_device->device(), swapchain, NULL);
     m_errorMonitor->VerifyFound();
 }
+#endif
 
 TEST_F(VkLayerTest, MapMemWithoutHostVisibleBit) {
     VkResult err;
@@ -15137,6 +15139,7 @@ TEST_F(VkLayerTest, ClearImageErrors) {
 
 // WSI Enabled Tests
 //
+#if 0
 TEST_F(VkWsiEnabledLayerTest, TestEnabledWsi) {
 
 #if defined(VK_USE_PLATFORM_XCB_KHR)
@@ -15471,6 +15474,7 @@ TEST_F(VkWsiEnabledLayerTest, TestEnabledWsi) {
     return;
 #endif // VK_USE_PLATFORM_XCB_KHR
 }
+#endif
 
 //
 // POSITIVE VALIDATION TESTS