From: Jeremy Puhlman <[email protected]>

The updates to the tests are done in do_install instead of do_install_ptest,
so the changes need to consider ptest not being turned on.

Signed-off-by: Jeremy A. Puhlman <[email protected]>
---
 meta/recipes-core/glib-2.0/glib.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/glib-2.0/glib.inc 
b/meta/recipes-core/glib-2.0/glib.inc
index edecc51fdb..7ebed0e5fd 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -128,9 +128,11 @@ do_install_append_class-target () {
                        rm 
${D}${datadir}/installed-tests/glib/gdbus-serialization.test
                fi
        fi
+       if [ -f ${D}${datadir}/installed-tests/glib/static-link.test ]; then
         if test "x${MLPREFIX}" != "x"; then
                 mv ${D}${datadir}/installed-tests/glib/static-link.test 
${D}${datadir}/installed-tests/glib/${MLPREFIX}static-link.test
         fi
+       fi
 }
 
 # As we do not build python3 for windows, makes no sense to ship the script 
that's using it
-- 
2.13.3

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to