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 616276 - simplify gschema-compile test setup
simplify gschema-compile test setup
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gsettings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-04-20 12:16 UTC by Christian Persch
Modified: 2010-04-21 03:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Simplify gschema-compile test suite (11.62 KB, patch)
2010-04-20 12:17 UTC, Christian Persch
none Details | Review

Description Christian Persch 2010-04-20 12:16:22 UTC
Right now it requires one extra directory per test schema. 

The patch adds (hidden) a --one-schema-file option to gschema-compile that makes it process just the one file, not the whole directory. That allows all the schema test files to live in the same directory.
Also adds a --dry-run option so that it only processes the file but doesn't write the gschema.compiled output.
Comment 1 Christian Persch 2010-04-20 12:17:32 UTC
Created attachment 159157 [details] [review]
Simplify gschema-compile test suite

Add --one-schema-file option to gschema-compile to allow easier test
setup. Simplify the test setup.

Bug #616276.
Comment 2 Matthias Clasen 2010-04-20 23:29:01 UTC
I like it.

Lets see what Ryan thinks
Comment 3 Matthias Clasen 2010-04-21 03:31:22 UTC
Committed, with some adjustments.