After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788224 - meson test fails if gnome-calendar is not already installed
meson test fails if gnome-calendar is not already installed
Status: RESOLVED OBSOLETE
Product: gnome-calendar
Classification: Applications
Component: General
3.25.x
Other Linux
: Normal normal
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-27 03:48 UTC by Mohammed Sadiq
Modified: 2017-11-24 22:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix GCalManager test (3.85 KB, patch)
2017-10-02 16:05 UTC, Iñigo Martínez
none Details | Review

Description Mohammed Sadiq 2017-09-27 03:48:05 UTC
tests fails if gnome-calendar is not installed. This is due to inaccessible gsettings. The following is logged into terminal:

GLib-GIO-ERROR **: Settings schema 'org.gnome.calendar' is not installed
Comment 1 Iñigo Martínez 2017-10-02 16:05:02 UTC
Created attachment 360790 [details] [review]
Fix GCalManager test

The unit test that checks GCalManager test fails due to missing schemas.

This patch allows schemas to be compiled in the build tree and sets the environment variables so tests can be found them and run properly. This is done by, moving enums schema generation to the data directory, using meson's `compile_schemas` function and setting the `GSETTINGS_SCHEMA_DIR`.
Comment 2 Georges Basile Stavracas Neto 2017-11-24 22:38:52 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-calendar/issues/189.