GNOME Bugzilla – Bug 630160
tests fail if system has GLib-2.0.gir in format 1.0
Last modified: 2015-02-07 16:51:59 UTC
Created attachment 170660 [details] [review] patch 1/2 g-i builds its own copy of GLib.2.0.gir, etc., but some of the regression tests prefer to use the system copies (if they exist). In particular, this causes all tests in tests/warn to fail if the system copy is still in format 1.0: for instance, this is easily reproducible on Debian by installing the g-i 0.6.14 packages, then building g-i 0.9.6 from source.
Created attachment 170661 [details] [review] patch 2/2
Patches also available from ssh://people.freedesktop.org/~smcv/gobject-introspection.git in the "local-gir" branch.
*** Bug 630136 has been marked as a duplicate of this bug. ***
Review of attachment 170660 [details] [review]: This patch shouldn't be necessary; instead, in-tree users of the scanner should use --add-include-path=$(top_builddir)/gir
Review of attachment 170661 [details] [review]: Neither of these should be necessary if the tests simply use --add-include-path.
Created attachment 170846 [details] [review] look for uninstalled girs
Review of attachment 170846 [details] [review]: Looks good, thanks!
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]