[librsvg: 3/4] (#425) Use the test font map for the dimensions unit test
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 3/4] (#425) Use the test font map for the dimensions unit test
- Date: Mon, 25 Feb 2019 16:29:20 +0000 (UTC)
commit 3c84d67ca49b9329b6f4d12afaa3a948076591b8
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Feb 23 19:51:31 2019 +0100
(#425) Use the test font map for the dimensions unit test
Set up the test font map so that the test does not depend on the
system settings. This avoids the test failure for the
"/dimensions/sub/text_position" unit test on ubuntu.
tests/dimensions.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/tests/dimensions.c b/tests/dimensions.c
index df837815..e76e7c93 100644
--- a/tests/dimensions.c
+++ b/tests/dimensions.c
@@ -153,6 +153,8 @@ main (int argc, char *argv[])
g_test_init (&argc, &argv, NULL);
+ test_utils_setup_font_map ();
+
for (i = 0; i < n_fixtures; i++)
g_test_add_data_func (fixtures[i].test_name, &fixtures[i], (void*)test_dimensions);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]