]> code.ossystems Code Review - openembedded-core.git/commitdiff
ptest-gnome: extend EXTRA_OECONF in all builds, not just target
authorRoss Burton <ross.burton@intel.com>
Mon, 16 Nov 2015 23:18:21 +0000 (23:18 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Nov 2015 15:43:06 +0000 (15:43 +0000)
This class was extending EXTRA_OECONF only in target builds with
--enable/--disable-installed-tests.  However for native builds we don't care
about the test suite and should be explicitly disabling it.

This stops glib-2.0-native trying to build the test suite that we'll never
execute.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/ptest-gnome.bbclass

index b2949af9bb9eabd2fc25905f03e56dad3d9effba..478a33474d8f56c3a8a67ea00dc249fc90008841 100644 (file)
@@ -1,6 +1,6 @@
 inherit ptest
 
-EXTRA_OECONF_append_class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', '--enable-installed-tests', '--disable-installed-tests', d)}"
+EXTRA_OECONF_append = " ${@bb.utils.contains('PTEST_ENABLED', '1', '--enable-installed-tests', '--disable-installed-tests', d)}"
 
 FILES_${PN}-ptest += "${libexecdir}/installed-tests/ \
                       ${datadir}/installed-tests/"