GNOME Bugzilla – Bug 597925
make check fails to find test*.js files
Last modified: 2011-01-10 17:33:29 UTC
Failing g_assert in gjs-unit: /* iterate through all 'test*.js' files in ${top_srcdir}/test/js */ js_test_dir = g_build_filename(top_srcdir, "test", "js", NULL); dir = g_dir_open(js_test_dir, 0, NULL); g_assert(dir != NULL);
Created attachment 145149 [details] [review] test: handle absolute GJS_TOP_SRCDIR correctly Seems to be needed for srcdir != builddir
Can you explain more about how you are triggering this? Make distcheck (which runs 'make check' for srcdir != builddir) works fine for me. (automake-1.11, if that matters)
mkdir _build cd _build $(cd .. && pwd)/configure make test or along those lines. The first three steps are jhbuild making. automake 1.10.1
(In reply to comment #3) > mkdir _build > cd _build > $(cd .. && pwd)/configure Ah, that's the issue. If you do the more natural ../configure it works fine. The patch looks OK, but could do with a better commit message explaining that its to handle absolute srcdir paths.
Bug 613234 had better patch. *** This bug has been marked as a duplicate of bug 613234 ***