GNOME Bugzilla – Bug 766407
Some build-related defects in glib testsuite
Last modified: 2016-05-15 00:10:21 UTC
* a threading test fails to build due to a lack of prototype for a pthread function * a pcre test fails to build, because it can't property link to internal pcre due to missing cflag * make check TESTS=... fails in gio due to weird interaction between TESTS and SUBDIRS
Created attachment 327846 [details] [review] testsuite: include pthread.h in thread testfile
Created attachment 327847 [details] [review] testsuite: don't forget -DPCRE_STATIC when PCRE is static
Created attachment 327848 [details] [review] testsuite: override check-TESTS target in gio tests subdir This prevents testsuite from trying to build any TESTS in that subdirectory, which will fail, because there are no TESTS defined in that Makefile.am. This happens when user runs make check TESTS=...
Review of attachment 327846 [details] [review]: Ok - with patches like this it'd be useful to say something like: "Fixes the build on FreeBSD X" or whatever.
Review of attachment 327847 [details] [review]: OK.
Review of attachment 327848 [details] [review]: This seems like an automake bug or something...it shouldn't propagate the TESTS= variable when recursing or something? But anyways, it does indeed make `TESTS=` work, so OK.
Attachment 327846 [details] pushed as 36c47f2 - testsuite: include pthread.h in thread testfile Attachment 327847 [details] pushed as e88796c - testsuite: don't forget -DPCRE_STATIC when PCRE is static Attachment 327848 [details] pushed as 2aa7338 - testsuite: override check-TESTS target in gio tests subdir