diff --git a/tests/meson.build b/tests/meson.build index f5584f26..3175a90f 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -22,7 +22,7 @@ foreach t : rcxml_tests exe = executable( testname, sources: [t, 'tap.c'], - dependencies: [wlroots], + dependencies: [wlroots, cairo, pangocairo], include_directories: [labwc_inc], link_with: [rcxml_lib], ) diff --git a/tests/t1000-rcxml-simple-parse.c b/tests/t1000-rcxml-simple-parse.c index e4eef60a..f6fdfd8f 100644 --- a/tests/t1000-rcxml-simple-parse.c +++ b/tests/t1000-rcxml-simple-parse.c @@ -3,6 +3,8 @@ #include #include #include +#include +#include #include "config/rcxml.h" #include "tap.h" @@ -34,5 +36,6 @@ int main(int argc, char **argv) ok1(rc.client_side_decorations); rcxml_finish(); + pango_cairo_font_map_set_default(NULL); return exit_status(); } diff --git a/tests/t1001-rcxml-nodenames-simple.c b/tests/t1001-rcxml-nodenames-simple.c index d371ddee..c9aee4cc 100644 --- a/tests/t1001-rcxml-nodenames-simple.c +++ b/tests/t1001-rcxml-nodenames-simple.c @@ -4,6 +4,8 @@ #include #include #include +#include +#include #include "config/rcxml.h" #include "tap.h" @@ -43,5 +45,6 @@ int main(int argc, char **argv) ok1(!strcmp(expect, actual.buf)); free(actual.buf); free(source.buf); + pango_cairo_font_map_set_default(NULL); return exit_status(); }