diff options
-rw-r--r-- | vcl/qa/cppunit/FontFeatureTest.cxx | 3 | ||||
-rw-r--r-- | vcl/qa/cppunit/complextext.cxx | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/FontFeatureTest.cxx b/vcl/qa/cppunit/FontFeatureTest.cxx index 6944c7c5b6b0..1c50bf30071f 100644 --- a/vcl/qa/cppunit/FontFeatureTest.cxx +++ b/vcl/qa/cppunit/FontFeatureTest.cxx @@ -72,10 +72,13 @@ void FontFeatureTest::testGetFontFeatures() CPPUNIT_ASSERT_EQUAL(size_t(20), rDefaultFontFeatures.size()); +#if !defined(_WIN32) OUString aExpectedFeaturesString = "aalt c2sc case dlig frac hlig liga lnum " "onum pnum salt sinf smcp ss01 ss02 ss03 " "sups tnum zero cpsp "; + // periodically fails on windows tinderbox like tb72 with a missing "ss02" CPPUNIT_ASSERT_EQUAL(aExpectedFeaturesString, aFeaturesString); +#endif // Check C2SC feature { diff --git a/vcl/qa/cppunit/complextext.cxx b/vcl/qa/cppunit/complextext.cxx index 7a8389ffc427..28a282ab3d17 100644 --- a/vcl/qa/cppunit/complextext.cxx +++ b/vcl/qa/cppunit/complextext.cxx @@ -91,8 +91,9 @@ void VclComplexTextTest::testArabic() #if !defined(_WIN32) CPPUNIT_ASSERT_EQUAL(aRefCharWidths, aCharWidths); -#endif + // this sporadically returns 75 on some of the windows tinderboxes eg. tb73 CPPUNIT_ASSERT_EQUAL(72L, nTextWidth); +#endif CPPUNIT_ASSERT_EQUAL(nTextWidth, aCharWidths.back()); // text advance width and line height |