From 8964035d9bcf9db141ca6761de0b5cc1346283c4 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 27 Sep 2019 14:28:23 +0300 Subject: [PATCH] Skip test with no display plane is available Similarly to dEQP-VK.wsi.display.get_display_properties that skips when no display available. Components: Vulkan Affects: dEQP-VK.wsi.display.get_display_plane_capabilities2 Change-Id: I46af976a9ba3e77e250504d0164dec6ac4cdd607 (cherry picked from commit fd915c2d0ec7b544b670192447223061fe4b6cf3) --- external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTests.cpp b/external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTests.cpp index 16fa88f..0c6a0f1 100644 --- a/external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTests.cpp +++ b/external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTests.cpp @@ -1968,7 +1968,7 @@ tcu::TestStatus DisplayCoverageTestInstance::testGetDisplayPlaneCapabilities2KHR TCU_FAIL_STR(string("Expected VK_SUCCESS. Have ") + getResultAsString(result)); if (planeCountReported == 0) - TCU_FAIL("No planes defined"); + TCU_THROW(NotSupportedError, "No display plane reported"); if (planeCountReported > MAX_TESTED_PLANE_COUNT) { -- 2.7.4