[geary/mjog/composer-context-loading-fixes] test-client: Fix test failure for new composer widget tests under CI
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/composer-context-loading-fixes] test-client: Fix test failure for new composer widget tests under CI
- Date: Thu, 13 Aug 2020 08:14:05 +0000 (UTC)
commit 5243334fac18a1e8e022f716e40e08e35b006ed5
Author: Michael Gratton <mike vee net>
Date: Thu Aug 13 15:15:00 2020 +1000
test-client: Fix test failure for new composer widget tests under CI
Init icon factory so composer tests work under CI, add rsvg for
Ubuntu which as of 20.10 won't include it by default.
.gitlab-ci.yml | 2 +-
test/test-client.vala | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bdccea3b4..02caee0ce 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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-2 locales xauth xvfb
fedora:
stage: build
diff --git a/test/test-client.vala b/test/test-client.vala
index 5e432b709..1cdbf8f65 100644
--- a/test/test-client.vala
+++ b/test/test-client.vala
@@ -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();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]