[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - vcl/qa
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 31 06:42:01 UTC 2020
vcl/qa/cppunit/VectorGraphicSearchTest.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 19d40825b71ac57c60e8c0537b1e6f6487586a02
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Wed Jun 3 12:23:57 2020 +0200
Commit: Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Fri Jul 31 08:41:25 2020 +0200
vcl: disable VectorGraphicSearchTest if we don't have PDFium
enclose with HAVE_FEATURE_PDFIUM
Change-Id: I46f8d6b19c46dbdf313b6192dddf85741ceb301f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95462
Tested-by: Tomaž Vajngerl <quikee at gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
(cherry picked from commit e848e95faa5cea1f258c9f97d99ffc91614e5a3b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95948
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
(cherry picked from commit e3d0dd8172d3e5214a7d996b8b7888cb2dfcc185)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99817
diff --git a/vcl/qa/cppunit/VectorGraphicSearchTest.cxx b/vcl/qa/cppunit/VectorGraphicSearchTest.cxx
index 8dbdcac0e2e1..00febce16e71 100644
--- a/vcl/qa/cppunit/VectorGraphicSearchTest.cxx
+++ b/vcl/qa/cppunit/VectorGraphicSearchTest.cxx
@@ -7,6 +7,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include <config_features.h>
+
+#if HAVE_FEATURE_PDFIUM
+
#include <cppunit/TestAssert.h>
#include <cppunit/extensions/HelperMacros.h>
@@ -195,4 +199,6 @@ void VectorGraphicSearchTest::testSearchStringChange()
CPPUNIT_TEST_SUITE_REGISTRATION(VectorGraphicSearchTest);
+#endif
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list