summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-12-25 09:48:17 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-12-25 09:55:25 -0500
commit8fa7b37a31422c4334c6e93213ca5816644e8aa4 (patch)
tree7039f0cf449f6e3b098b09e7c949cbba3b8ec251 /tests
parent7a9a4369215ca5da4bb85166d74cd00fbd7adf3d (diff)
downloadpango-8fa7b37a31422c4334c6e93213ca5816644e8aa4.tar.gz
Add fonts to installed tests
Fixes: #648
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build
index a4c545c3..b885f999 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -126,6 +126,19 @@ installed_test_layouts_data = [
'layouts/aaa.layout',
]
+installed_test_fonts_data = [
+ 'fonts/amiri-06dd.ttf',
+ 'fonts/Cantarell-VF.otf',
+ 'fonts/DejaVuSansMono.ttf',
+ 'fonts/DejaVuSans.ttf',
+ 'fonts/droid-sans-subset.ttf',
+ 'fonts/emoji-subset.ttf',
+ 'fonts/fa-regular-f2db.ttf',
+ 'fonts/fa-solid-f2db.ttf',
+ 'fonts/fonts.conf',
+ 'fonts/noto-sans-cjk.ttf',
+]
+
test_markups_data = [
'markups/fail-1',
'markups/fail-2',
@@ -231,6 +244,7 @@ installed_test_bindir = join_paths(pango_libexecdir, 'installed-tests', 'pango')
if get_option('install-tests')
install_data(installed_test_data, install_dir: installed_test_bindir)
+ install_data(installed_test_fonts_data, install_dir: join_paths(installed_test_bindir, 'fonts'))
install_data(installed_test_layouts_data, install_dir: join_paths(installed_test_bindir, 'layouts'))
install_data(installed_test_markups_data, install_dir: join_paths(installed_test_bindir, 'markups'))
install_data(installed_test_breaks_data, install_dir: join_paths(installed_test_bindir, 'breaks'))