[bitbake-devel] [PATCH 0/3] Fix bitbake-selftest failures
Mark Hatle
mark.hatle at windriver.com
Tue Sep 25 15:07:05 UTC 2018
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(-)
--
1.8.3.1
More information about the bitbake-devel
mailing list