]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest: Add test for conflicting sysroot provider
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Apr 2020 16:19:11 +0000 (17:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 26 Apr 2020 12:58:45 +0000 (13:58 +0100)
commit24ca62b3c1fd404b67d549b29aeeacf913e6dc86
treee6cb0f85444392b69a140b58e6f52e13c0e40f1c
parent920beaaeef62b558e046f32c8ef0332250969ef1
oeqa/selftest: Add test for conflicting sysroot provider

sysroot-test depends on virtual/sysroot-test which we build for one machine,
switch machine, switch provider of virtual/sysroot-test and check that the
sysroot is correctly cleaned up. The files in the two providers overlap
so can cause errors if the sysroot code doesn't function correctly.

Yes, sysroot-test should be machine specific really to avoid this, however
the sysroot cleanup should also work.

This adds a test for bug:

[YOCTO #13702]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb [new file with mode: 0644]
meta-selftest/recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb [new file with mode: 0644]
meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb [new file with mode: 0644]
meta/lib/oeqa/selftest/cases/sysroot.py [new file with mode: 0644]