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:
parent
29ba9311e6
commit
e5bfd7295c
2 changed files with 2 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ variables:
|
||||||
libhandy-0.0-dev libjson-glib-dev libmessaging-menu-dev
|
libhandy-0.0-dev libjson-glib-dev libmessaging-menu-dev
|
||||||
libpeas-dev libsecret-1-dev libsqlite3-dev libunwind-dev
|
libpeas-dev libsecret-1-dev libsqlite3-dev libunwind-dev
|
||||||
libwebkit2gtk-4.0-dev libxml2-dev libytnef0-dev
|
libwebkit2gtk-4.0-dev libxml2-dev libytnef0-dev
|
||||||
UBUNTU_TEST_DEPS: locales xauth xvfb
|
UBUNTU_TEST_DEPS: librsvg2-common locales xauth xvfb
|
||||||
|
|
||||||
fedora:
|
fedora:
|
||||||
stage: build
|
stage: build
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ int main(string[] args) {
|
||||||
Gtk.init(ref args);
|
Gtk.init(ref args);
|
||||||
Test.init(ref args);
|
Test.init(ref args);
|
||||||
|
|
||||||
|
IconFactory.init(GLib.File.new_for_path(_SOURCE_ROOT_DIR));
|
||||||
Geary.RFC822.init();
|
Geary.RFC822.init();
|
||||||
Geary.HTML.init();
|
Geary.HTML.init();
|
||||||
Geary.Logging.init();
|
Geary.Logging.init();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue