summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-06-03 12:23:57 +0200
committerTomaž Vajngerl <quikee@gmail.com>2020-06-04 10:50:11 +0200
commite848e95faa5cea1f258c9f97d99ffc91614e5a3b (patch)
treee3c43dcef05e0bc7b6b5cfb40b3c9ad249b7cf50 /vcl/qa
parent354aefec42de856b4ab6201ada54a3a3c630b4bd (diff)
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@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/VectorGraphicSearchTest.cxx6
1 files changed, 6 insertions, 0 deletions
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: */