GNOME Bugzilla – Bug 782246
tests: require compiled schemas
Last modified: 2018-08-03 21:07:34 UTC
Running 'make check' from epiphany 3.24.1 fails in a clean build environment because it can't find the compiled epiphany gsettings schemas To be used in the tests, the schemas must be compiled and GSETTINGS_SCHEMA_DIR set to their location.
Hm, I bet this problem exists in master too (meson build).
This is how it was done in GTK+: https://git.gnome.org/browse/gtk+/commit/?id=d9dd7eb7 But it's just a FIXME in the new gtk4 meson build: https://git.gnome.org/browse/gtk+/tree/testsuite/reftests/meson.build#n39
3.25.1: xvfb-run ninja -v -C build-deb test ninja: Entering directory `build-deb' [0/1] '/usr/bin/python3' '/usr/share/meson/mesontest' '--no-rebuild' '--print-errorlogs' 1/10 Completion model test FAIL 1.11 s 2/10 Embed utils test FAIL 1.10 s 3/10 Encodings test FAIL 1.10 s 4/10 File helpers test FAIL 1.09 s 5/10 History test OK 0.34 s 6/10 Location entry test OK 0.19 s 7/10 Migration test FAIL 0.32 s 8/10 SQLite test OK 0.18 s 9/10 String test OK 0.03 s 10/10 URI helpers test OK 0.04 s OK: 5 FAIL: 5 SKIP: 0 TIMEOUT: 0 The output from the failed tests: 1/10 Completion model test FAIL 1.11 s --- command --- /<<PKGBUILDDIR>>/build-deb/tests/test-ephy-completion-model --- stderr --- (/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-completion-model:22541): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied. dconf will not work properly. ------- 2/10 Embed utils test FAIL 1.10 s --- command --- /<<PKGBUILDDIR>>/build-deb/tests/test-ephy-embed-utils --- stderr --- (/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-embed-utils:22545): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied. dconf will not work properly. ------- 3/10 Encodings test FAIL 1.10 s --- command --- /<<PKGBUILDDIR>>/build-deb/tests/test-ephy-encodings --- stderr --- (/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-encodings:22546): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied. dconf will not work properly. ------- 4/10 File helpers test FAIL 1.09 s --- command --- /<<PKGBUILDDIR>>/build-deb/tests/test-ephy-file-helpers --- stdout --- /lib/ephy-file-helpers/init: OK /lib/ephy-file-helpers/get_downloads_dir: --- stderr --- (/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-file-helpers:22547): GLib-GIO-ERROR **: Settings schema 'org.gnome.Epiphany.state' is not installed ------- 7/10 Migration test FAIL 0.32 s --- command --- /<<PKGBUILDDIR>>/build-deb/tests/test-ephy-migration --- stdout --- /lib/ephy-profile-utils/do_migration_simple: OK /lib/ephy-profile-utils/do_migration_invalid: --- stderr --- ** ERROR:../tests/ephy-migration-test.c:45:test_do_migration_invalid: assertion failed: (ret == FALSE) -------
-- 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/epiphany/issues/388.