All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix bitbake-selftest failures
@ 2018-09-25 15:07 Mark Hatle
  2018-09-25 15:07 ` [PATCH 1/3] lib/bb/tests/parse.py: Test case was changing chdir Mark Hatle
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mark Hatle @ 2018-09-25 15:07 UTC (permalink / raw)
  To: bitbake-devel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-09-25 15:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-25 15:07 [PATCH 0/3] Fix bitbake-selftest failures Mark Hatle
2018-09-25 15:07 ` [PATCH 1/3] lib/bb/tests/parse.py: Test case was changing chdir Mark Hatle
2018-09-25 15:07 ` [PATCH 2/3] lib/layerindexlib/tests/cooker.py: Fix topdir to use an absolute (real) path Mark Hatle
2018-09-25 15:18   ` Mark Hatle
2018-09-25 15:07 ` [PATCH 3/3] lib/layerindexlib/tests/restapi.py: Fix test cases when BB_SKIP_NETTETS=yes Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.