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:28:56 +0100 |
commit | e08025fe4c66837db8c8ddce66e07aa135824316 (patch) | |
tree | 4648e896be7ccc5e2323216ff074a9ca4c77f55f | |
parent | fd1d2c6dc73e084918b4290214652bcff9b99261 (diff) | |
download | poky-e08025fe4c66837db8c8ddce66e07aa135824316.tar.gz |
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 <Peter.Hoyes@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/README | 5 |
1 files changed, 5 insertions, 0 deletions
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: | |||
53 | 53 | ||
54 | export PATH=$(pwd)/bin:$PATH | 54 | export PATH=$(pwd)/bin:$PATH |
55 | bin/bitbake-selftest | 55 | bin/bitbake-selftest |
56 | |||
57 | The testsuite can alternatively be executed using pytest, e.g. obtained from PyPI (in this | ||
58 | case, the PATH is configured automatically): | ||
59 | |||
60 | pytest | ||