Kaydet (Commit) d1a59468 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

try to fix the tests that depend on fonts

This should help with some of the RandomConfig tb failures.

Change-Id: I83af9c2c50fa2f3044e7507a1b902807536452dd
Reviewed-on: https://gerrit.libreoffice.org/36581Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst ea9a31e3
......@@ -184,4 +184,9 @@
*/
#define HAVE_FEATURE_PDFIUM 0
/*
* Whether extra fonts are available
*/
#define HAVE_MORE_FONTS 0
#endif
......@@ -11305,6 +11305,7 @@ if test "$with_fonts" != "no"; then
AC_MSG_RESULT([yes])
WITH_FONTS=TRUE
BUILD_TYPE="$BUILD_TYPE MORE_FONTS"
AC_DEFINE(HAVE_MORE_FONTS)
else
AC_MSG_RESULT([no])
WITH_FONTS=
......
......@@ -11,6 +11,7 @@
#include <sal/config.h>
#include <rtl/strbuf.hxx>
#include <osl/file.hxx>
#include <config_features.h>
#include <sfx2/app.hxx>
#include <sfx2/docfile.hxx>
......@@ -215,10 +216,14 @@ public:
CPPUNIT_TEST(testFormatExportODS);
CPPUNIT_TEST(testCommentExportXLSX);
#if HAVE_MORE_FONTS
CPPUNIT_TEST(testCustomColumnWidthExportXLSX);
#endif
CPPUNIT_TEST(testXfDefaultValuesXLSX);
CPPUNIT_TEST(testColumnWidthResaveXLSX);
#if HAVE_MORE_FONTS
CPPUNIT_TEST(testColumnWidthExportFromODStoXLSX);
#endif
CPPUNIT_TEST(testOutlineExportXLSX);
CPPUNIT_TEST(testHiddenEmptyRowsXLSX);
CPPUNIT_TEST(testAllRowsHiddenXLSX);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment