glib-2.0: update ptest multilib fix

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.

(From OE-Core rev: 6baaf3a530d5e4d6015c1dc53a2849a20bafafe4)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jeremy Puhlman
2020-03-16 23:03:05 -07:00
committed by Richard Purdie
parent 719c14c984
commit 3fa3ce2ae0

View 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