]> code.ossystems Code Review - openembedded-core.git/commit
udev: don't keep ptest testdata laying around
authorMax Krummenacher <max.oss.09@gmail.com>
Wed, 25 Mar 2015 22:09:37 +0000 (23:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Mar 2015 14:16:36 +0000 (14:16 +0000)
commit60c0b80048e1f8aae1a4aaa3619c84496a111ae2
treed2c2d1ff7b9930bec8aab5494e248ece3c6e3698
parent32fa3ff2849a74deeb13ac53cc65e212b9cffd92
udev: don't keep ptest testdata laying around

Only unpack udev's testdata right before executing the tests and cleanup
afterwards.

udev's testsuite can be used by ptest. However currently the testdata against
which its functionality is tested is installed in the sysroot at udev install
time.
If the sysroot is used with qemu the testdata makes qemu entering an infinite
loop.
http://lists.openembedded.org/pipermail/openembedded-core/2014-September/097098.html

This has already been fixed for the systemd udev flavour.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5664

Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/udev/udev/add-install-ptest.patch
meta/recipes-core/udev/udev/run-ptest