[OE-core] [PATCH] dbus-glib: support unit tests compile and install
Burton, Ross
ross.burton at intel.com
Mon Jul 16 10:28:09 UTC 2012
On 13 July 2012 21:49, Yao Zhao <yao.zhao at windriver.com> wrote:
> +-noinst_PROGRAMS= $(TEST_BINARIES)
> ++testdir = /opt/@PACKAGE at -tests
> ++test_PROGRAMS= $(TEST_BINARIES)
/opt is not for package-managed files, please install into /usr/ somewhere.
> +PACKAGECONFIG ??= ""
> +PACKAGECONFIG[tests] = "--enable-tests,,,"
It took me a while to figure out that the -tests packages will be
dropped as they are empty by default, and I presume your intention is
that people who want the tests can set
PACKAGECONFIG_pn-dbus-glib="tests" in a configuration file somewhere.
A little documentation inline would be very useful.
Probably worth splitting the gquark compile fix out as a separate commit too.
Ross
More information about the Openembedded-core
mailing list