Fix bitbake-selftest failures
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | lib/bb/tests/parse.py: Test case was changing chdirlib/ | +4 | 0 replies | |
| 2/3 | lib/layerindexlib/tests/cooker.py: Fix topdir to use an absolute (real) pathlib/ | +1 | 1 reply | |
| 3/3 | lib/layerindexlib/tests/restapi.py: Fix test cases when BB_SKIP_NETTETS=yeslib/ | +87 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Fix bitbake-selftest failures
The original purpose of this work is to fix the Yocto Project bug 12928.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12928
During that work it was noticed that parse.py was running chdir without restoring the original path. Also the layerindexlib cooker test was using __file__ without fully sanitizing it, so due to the prior issue it could fail to load the test-case data.
The patch set is availabe on bitbake-contrib on the mgh/12928 branch.
Mark Hatle (3):
lib/bb/tests/parse.py: Test case was changing chdir lib/layerindexlib/tests/cooker.py: Fix topdir to use an absolute
(real) path
lib/layerindexlib/tests/restapi.py: Fix test cases when
BB_SKIP_NETTETS=yes
lib/bb/tests/parse.py | 4 + lib/layerindexlib/tests/cooker.py | 2 +- lib/layerindexlib/tests/restapi.py | 164 ++++++++++++++++++++----------------- 3 files changed, 92 insertions(+), 78 deletions(-)
Signature · 1 line
1.8.3.1