summaryrefslogtreecommitdiff
path: root/meta/classes/ptest-gnome.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-11-16 23:18:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-24 15:43:06 +0000
commit926a8365b4f7233e5ab5a6b97e8ed53f417c0cfc (patch)
tree20412e529af7966cc8ab38c203d401872650734f /meta/classes/ptest-gnome.bbclass
parent6f98c39418c60b7c0b25b30983d2e5257158a6a4 (diff)
downloadopenembedded-core-926a8365b4f7233e5ab5a6b97e8ed53f417c0cfc.tar.gz
openembedded-core-926a8365b4f7233e5ab5a6b97e8ed53f417c0cfc.tar.bz2
openembedded-core-926a8365b4f7233e5ab5a6b97e8ed53f417c0cfc.zip
ptest-gnome: extend EXTRA_OECONF in all builds, not just target
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>
Diffstat (limited to 'meta/classes/ptest-gnome.bbclass')
-rw-r--r--meta/classes/ptest-gnome.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/ptest-gnome.bbclass b/meta/classes/ptest-gnome.bbclass
index b2949af9bb..478a33474d 100644
--- a/meta/classes/ptest-gnome.bbclass
+++ b/meta/classes/ptest-gnome.bbclass
@@ -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/"