disable another poor font test

This commit is contained in:
Caolán McNamara 2022-02-03 21:05:09 +00:00
parent cc5e7c6c3f
commit 77b4dd96e0
2 changed files with 55 additions and 1 deletions

View File

@ -0,0 +1,52 @@
From 26745e523d9be8403573d0ea700f1f417fbf6c71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
Date: Thu, 3 Feb 2022 21:03:19 +0000
Subject: [PATCH] the fedora kacst-book-fonts-2.0-26 does have these western
glyphs
Change-Id: I4149acfc93e7f48aa98fc001c7958868e118b558
---
vcl/qa/cppunit/text.cxx | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/vcl/qa/cppunit/text.cxx b/vcl/qa/cppunit/text.cxx
index eef1478286d5..0eef380ee1b5 100644
--- a/vcl/qa/cppunit/text.cxx
+++ b/vcl/qa/cppunit/text.cxx
@@ -53,7 +53,7 @@ public:
void testImplLayoutArgsBiDiStrong();
void testImplLayoutArgsBiDiRtl();
void testImplLayoutArgsRightAlign();
- void testImplLayoutArgs_PrepareFallback_precalculatedglyphs();
+ // void testImplLayoutArgs_PrepareFallback_precalculatedglyphs();
CPPUNIT_TEST_SUITE(VclTextTest);
CPPUNIT_TEST(testSimpleText);
@@ -66,7 +66,7 @@ public:
CPPUNIT_TEST(testImplLayoutArgsBiDiStrong);
CPPUNIT_TEST(testImplLayoutArgsBiDiRtl);
CPPUNIT_TEST(testImplLayoutArgsRightAlign);
- CPPUNIT_TEST(testImplLayoutArgs_PrepareFallback_precalculatedglyphs);
+ // CPPUNIT_TEST(testImplLayoutArgs_PrepareFallback_precalculatedglyphs);
CPPUNIT_TEST_SUITE_END();
};
@@ -682,6 +682,7 @@ void VclTextTest::testImplLayoutArgsRightAlign()
CPPUNIT_ASSERT(*pRTL);
}
+#if 0
void VclTextTest::testImplLayoutArgs_PrepareFallback_precalculatedglyphs()
{
// this font has no latin characters and thus needs fallback
@@ -726,6 +727,7 @@ void VclTextTest::testImplLayoutArgs_PrepareFallback_precalculatedglyphs()
CPPUNIT_ASSERT_EQUAL(22, *nEndRunPos);
CPPUNIT_ASSERT(!*pRTL);
}
+#endif
CPPUNIT_TEST_SUITE_REGISTRATION(VclTextTest);
--
2.33.1

View File

@ -246,8 +246,10 @@ Patch2: 0001-Resolves-rhbz-1432468-disable-opencl-by-default.patch
Patch3: 0001-Revert-tdf-101630-gdrive-support-w-oAuth-and-Drive-A.patch
# disable poor test
Patch4: 0001-it-doesn-t-work-to-just-have-Roman-as-a-font-name-an.patch
# disable another poor test
Patch5: 0001-the-fedora-kacst-book-fonts-2.0-26-does-have-these-w.patch
# see if ICE still happens
Patch5: 0001-split-out-function-to-explore-i686-ICE.patch
Patch6: 0001-split-out-function-to-explore-i686-ICE.patch
# not upstreamed
Patch500: 0001-disable-libe-book-support.patch