vcl/qa/cppunit/BackendTest.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 0d1e05f87f4b5cca6a319c85cd168888a9b92a30
Author:     Caolán McNamara <[email protected]>
AuthorDate: Thu Dec 11 09:05:00 2025 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Fri Dec 12 10:38:26 2025 +0100

    disable testDrawMask24bpp for --enable-cairo-rgba
    
    Change-Id: I84755909a705a23786d1f55948ab1c90c3543395
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195434
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/vcl/qa/cppunit/BackendTest.cxx b/vcl/qa/cppunit/BackendTest.cxx
index 690d86cdbab7..ecdcf1246c01 100644
--- a/vcl/qa/cppunit/BackendTest.cxx
+++ b/vcl/qa/cppunit/BackendTest.cxx
@@ -16,6 +16,7 @@
 #include <basegfx/matrix/b2dhommatrix.hxx>
 #include <vcl/BitmapWriteAccess.hxx>
 
+#include <config_cairo_rgba.h>
 #include <svdata.hxx>
 #include <salinst.hxx>
 #include <salgdi.hxx>
@@ -500,6 +501,7 @@ public:
 
     void testDrawMask24bpp()
     {
+#if !ENABLE_CAIRO_RGBA
         if (getDefaultDeviceBitCount() < 24)
             return;
         vcl::test::OutputDeviceTestBitmap aOutDevTest;
@@ -508,6 +510,7 @@ public:
         exportImage(u"08-05_mask_test_24bpp.png"_ustr, aBitmap);
         if (SHOULD_ASSERT)
             CPPUNIT_ASSERT(eResult != vcl::test::TestResult::Failed);
+#endif
     }
 
     void testDrawBlend24bpp()

Reply via email to