From 813f0e181e8f8a1d1ec0ec69414768ce90d5a943 Mon Sep 17 00:00:00 2001 From: "Juan A. Suarez Romero" Date: Fri, 8 Jun 2018 08:27:33 +0000 Subject: [PATCH] Do not fail if no config is available If the backend does not support any EGL config with the required attributes, make the test UnSupported rather than Fail. Affects: dEQP-EGL.functional.wide_color.* Components: OpenGL VK-GL-CTS issue: 1210 Change-Id: Ic3c37e68530b4ac0fac72e713023542645bd8288 --- modules/egl/teglWideColorTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/egl/teglWideColorTests.cpp b/modules/egl/teglWideColorTests.cpp index 4cbe923..2bdaf22 100644 --- a/modules/egl/teglWideColorTests.cpp +++ b/modules/egl/teglWideColorTests.cpp @@ -685,7 +685,7 @@ void WideColorSurfaceTest::init (void) if (numConfigs <= 0) { log << tcu::TestLog::Message << "No configs returned." << tcu::TestLog::EndMessage; - TCU_FAIL("No configs returned"); + TCU_THROW(NotSupportedError, "No configs available with the requested attributes"); } log << tcu::TestLog::Message << numConfigs << " configs returned" << tcu::TestLog::EndMessage; -- 2.7.4