test-client: Fix test failure for new composer widget tests under CI

Init icon factory so composer tests work under CI, add rsvg as a test
dependency for Ubuntu which as of 20.10 does not include it by default.
This commit is contained in:
Michael Gratton 2020-08-13 15:15:00 +10:00 committed by Michael James Gratton
parent 29ba9311e6
commit e5bfd7295c
2 changed files with 2 additions and 1 deletions

View file

@ -40,7 +40,7 @@ variables:
libhandy-0.0-dev libjson-glib-dev libmessaging-menu-dev
libpeas-dev libsecret-1-dev libsqlite3-dev libunwind-dev
libwebkit2gtk-4.0-dev libxml2-dev libytnef0-dev
UBUNTU_TEST_DEPS: locales xauth xvfb
UBUNTU_TEST_DEPS: librsvg2-common locales xauth xvfb
fedora:
stage: build

View file

@ -32,6 +32,7 @@ int main(string[] args) {
Gtk.init(ref args);
Test.init(ref args);
IconFactory.init(GLib.File.new_for_path(_SOURCE_ROOT_DIR));
Geary.RFC822.init();
Geary.HTML.init();
Geary.Logging.init();