]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/selftest/recipetool: add selftest for PEP-517 recipe creation
authorJulien Stephan <jstephan@baylibre.com>
Wed, 25 Oct 2023 15:46:59 +0000 (17:46 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Oct 2023 07:28:34 +0000 (08:28 +0100)
commit54356c6f1290d0d4170ed52f7bb358bb9efc1aec
tree2fe53a770d2155f2fd5ff1a06195216f754ed5aa
parentc7d8d15b2d0a9ecd210bd247fa0df31d9f458873
oeqa/selftest/recipetool: add selftest for PEP-517 recipe creation

 Add 3 tests to check the creation of PEP-517 project using the 3
 backends supported by bitbake:
  - setuptools.build_meta
  - poetry.core.masonry.api
  - flit_core.buildapi

Theses tests requires the tomllib python module, so skip theses tests
if module is not present. tomllib module is part of python starting from 3.11

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/recipetool.py