]> 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)
committerSteve Sakoman <steve@sakoman.com>
Fri, 1 May 2020 20:12:13 +0000 (10:12 -1000)
commit31a8b4935e673aba8a1147c4a2fb510b1a8bc3ce
treebd4a4403fef3e6c9a6f0281ea8491f8e47321993
parentf1d4da322d607a17de6d9c291562b5fd1128fbc6
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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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]