GNOME Bugzilla – Bug 774456
Fix test failure caused by out-of-source build
Last modified: 2016-11-15 13:05:27 UTC
I will attach two patches here to make TEST_DATA_DIR an absolute path and use G_TEST_SRCDIR instead of G_TEST_BUILDDIR.
Created attachment 339898 [details] [review] tests: make TEST_DATA_DIR absolute $(srcdir) is not always a relative path, so prepending the path of current directory doesn't always make a correct path.
Created attachment 339899 [details] [review] tests: Use srcdir instead of builddir to find test data
Review of attachment 339899 [details] [review]: lgtm
Review of attachment 339898 [details] [review]: lgtm, thanks!
Attachment 339898 [details] pushed as eadbcc1 - tests: make TEST_DATA_DIR absolute Attachment 339899 [details] pushed as fb3302c - tests: Use srcdir instead of builddir to find test data