GNOME Bugzilla – Bug 779178
tests: Search-engine and directory-access tests segfault
Last modified: 2017-02-24 13:31:15 UTC
When trying to run a tests test-nautilus-search-engine and test-nautilus-directory-access segfault.
Created attachment 346634 [details] [review] tests: Fix segfaults of search-engine and directory-access tests In 7840b533e2, `nautilus-directory-provider` extension point was added to the code paths used by the tests. When glib is asked for extensions, it assumes the extension point is registered so it segfaults. This patch registers the extension point before the tests are run.
Review of attachment 346634 [details] [review]: The code looks good! The commit message tittle is too long, you can use something like: "tests: Fix directory extensions points"
Created attachment 346635 [details] [review] tests: Fix directory extensions points In 7840b533e2, `nautilus-directory-provider` extension point was added to the code paths used by the tests. When glib is asked for extensions, it assumes the extension point is registered so it segfaults. This patch registers the extension point before the tests are run.
Review of attachment 346635 [details] [review]: +1 thanks!
Attachment 346635 [details] pushed as 5488240 - tests: Fix directory extensions points