summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2014-01-22 15:43:40 +0000
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-01-23 18:13:04 +0100
commitc4ffca21ff7c020c7df2c6de7cbd16fc20cac989 (patch)
treed3b0c8933d27e7aa76a2bc12ed3add15de2782f0 /config_host
parent38e26f75854e299333a731343ba9d81bfb45272f (diff)
Depend unit test on existing font.
Commit 734cf8395 introduced a unit test, which depends on a Calibri metric-compatible font. So this adds a fonctconfig based check to configure and just runs this test, if configure finds a correctly mapped font. Reviewed on: https://gerrit.libreoffice.org/7596 Change-Id: I5255a4366684b115d88adca78ab2002864b63766
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_test.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/config_host/config_test.h.in b/config_host/config_test.h.in
new file mode 100644
index 000000000000..c310350bb494
--- /dev/null
+++ b/config_host/config_test.h.in
@@ -0,0 +1,10 @@
+/*
+Settings for test suite dependencies.
+*/
+
+#ifndef CONFIG_TEST_H
+#define CONFIG_TEST_H
+
+#define TEST_FONTS_MISSING 0
+
+#endif