]> code.ossystems Code Review - openembedded-core.git/commitdiff
glib-2.0: update ptest multilib fix
authorJeremy Puhlman <jpuhlman@mvista.com>
Tue, 17 Mar 2020 06:03:05 +0000 (23:03 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Mar 2020 16:39:37 +0000 (16:39 +0000)
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 <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib.inc

index edecc51fdb8358b5694e2f80e411f6764190ce3f..7ebed0e5fdeac03660e8426006442250b049d1f3 100644 (file)
@@ -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