GNOME Bugzilla – Bug 782170
color: build test requires compiled schemas
Last modified: 2017-05-19 16:59:54 UTC
Running 'make check' from gnome-settings-daemon 3.24.1 fails in a clean build environment because the color test can't find the compiled color schemas. To be used in the test, the schemas must be compiled and GSETTINGS_SCHEMA_DIR set to their location. This regression was introduced with this commit: https://git.gnome.org/browse/gnome-settings-daemon/commit?id=749c9cf675
Created attachment 352166 [details] [review] color: Make the testcase able to run uninstalled Distributions might want to be able to run their tests during package builds, for example. Compile the schema and set GSETTINGS_SCHEMA_DIR to the build dir. --- I don't know about the SUBDIRS change in Makefile.am. I wasn't getting the .xml file generated by make dependencies, so I reordered them to get it built first.
Iain, thanks for getting this test working! :)
Review of attachment 352166 [details] [review]: LGTM.
The following fix has been pushed: 3923d60 color: Make the testcase able to run uninstalled
Created attachment 352172 [details] [review] color: Make the testcase able to run uninstalled Distributions might want to be able to run their tests during package builds, for example. Compile the schema and set GSETTINGS_SCHEMA_DIR to the build dir.