diff options
author | Peter Hoyes <Peter.Hoyes@arm.com> | 2023-06-16 13:36:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-27 15:27:02 +0100 |
commit | 79bc14003000ab439262272dae6a99961f7c14c7 (patch) | |
tree | f3996716014e233d349d40460daa0217fe8db5b7 | |
parent | 2d28caa01bab9540d2bbaf713ae3e5c563d003f5 (diff) | |
download | bitbake-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-- | README | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |