]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
selftest/incompatible_lic: Ensure create_sdpx isn't used with the tests
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Jun 2023 21:36:27 +0000 (22:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 2 Jun 2023 14:58:33 +0000 (15:58 +0100)
commitb9fb4c68f2ab5becb0a10418884e09dee93cd247
tree7cf08c1c942336501421b9b61c7483bc8cd7b592
parent1075b9fc5d562dada45b3187cb737511ff8c7376
selftest/incompatible_lic: Ensure create_sdpx isn't used with the tests

The SPDX class doens't get on well with non-standard licenses. Disable it for
the purposes of this test to avoid errors.

Add a new helper function to the core test code to allow this to be done easily.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/case.py
meta/lib/oeqa/selftest/cases/incompatible_lic.py