aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Hoyes <Peter.Hoyes@arm.com>2023-06-16 13:36:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-27 15:27:02 +0100
commit79bc14003000ab439262272dae6a99961f7c14c7 (patch)
treef3996716014e233d349d40460daa0217fe8db5b7
parent2d28caa01bab9540d2bbaf713ae3e5c563d003f5 (diff)
downloadbitbake-contrib-79bc14003000ab439262272dae6a99961f7c14c7.tar.gz
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. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--README5
1 files changed, 5 insertions, 0 deletions
diff --git a/README b/README
index 4b39b0cc8..e0f12b49f 100644
--- a/README
+++ b/README
@@ -58,3 +58,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