Browse Source

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>
Ross Burton 8 years ago
parent
commit
926a8365b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      meta/classes/ptest-gnome.bbclass

+ 1 - 1
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/"