From 5882676a4a2c43be0a8819b5e53a035f8a4761b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=20Isoj=C3=A4rvi?= Date: Wed, 17 Feb 2016 14:20:00 -0800 Subject: Report QualityWarning if resize doesn't crop image to corner. Bug: 27170794 Change-Id: Ie52566d92ef4f3185e2baf6bb260c72bd92736bc --- modules/egl/teglResizeTests.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/egl/teglResizeTests.cpp b/modules/egl/teglResizeTests.cpp index fd250e4f5..60cc66dfe 100644 --- a/modules/egl/teglResizeTests.cpp +++ b/modules/egl/teglResizeTests.cpp @@ -416,9 +416,10 @@ IterateResult PreserveBackBufferCase::iterate (void) << TestLog::Image("After resizing", "After resizing", newSurface) << TestLog::EndImageSet; - m_status.check(compareCorners(oldSurface, newSurface), - "Resizing the native window changed the contents of " - "the EGL surface"); + m_status.checkResult(compareCorners(oldSurface, newSurface), + QP_TEST_RESULT_QUALITY_WARNING, + "Resizing the native window changed the contents of " + "the EGL surface"); } } } -- cgit v1.2.3