From e08025fe4c66837db8c8ddce66e07aa135824316 Mon Sep 17 00:00:00 2001 From: Peter Hoyes Date: Fri, 16 Jun 2023 13:36:51 +0100 Subject: bitbake: bitbake: Bootstrap pytest for self-tests To support running the bitbake self-tests using pytest, add a pytest.ini This enables these tests to be run using the following command from the bitbake directory. pytest For now, testpaths only includes the bitbake selftests. Add a note to the README. (Bitbake rev: 79bc14003000ab439262272dae6a99961f7c14c7) Signed-off-by: Peter Hoyes Signed-off-by: Richard Purdie --- bitbake/README | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bitbake/README') diff --git a/bitbake/README b/bitbake/README index bdb1e81dc1..78610e65f1 100644 --- a/bitbake/README +++ b/bitbake/README @@ -53,3 +53,8 @@ testsuite as follows: export PATH=$(pwd)/bin:$PATH bin/bitbake-selftest + +The testsuite can alternatively be executed using pytest, e.g. obtained from PyPI (in this +case, the PATH is configured automatically): + + pytest -- cgit v1.2.3-54-g00ecf