Skip to content

#10618: Increase oe-selftest coverage of wic codebase (last part)

Ed Bartosh openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9wic-tools: add btrfs-tools squashfs-tools to DEPENDSmeta/recipes-core/meta/wic-tools.bb+5 -10 replies
2/9oe-selftest: add wic test case test_fs_typesmeta/lib/oeqa/selftest/wic.py+19 -00 replies
3/9filemap: remove FilemapSeek classscripts/lib/wic/filemap.py+49 -2600 replies
4/9oe-selftest: add kickstart_parser test casemeta/lib/oeqa/selftest/wic.py+12 -00 replies
5/9wic: remove fsimage pluginscripts/lib/wic/partition.py scripts/lib/wic/plugins/source/fsimage.py+0 -690 replies
6/9wic: use wic-tools STAGING_DATADIR as bootimg_dirscripts/lib/wic/plugins/source/bootimg-pcbios.py+20 -220 replies
7/9wic: remove runner.show APIscripts/lib/wic/plugins/source/bootimg-pcbios.py scripts/lib/wic/utils/runner.py+2 -280 replies
8/9wic: remove unused code from runner modulescripts/lib/wic/utils/misc.py scripts/lib/wic/utils/runner.py+13 -510 replies
9/9oe-selftest: add test_image_bootpart_globbed test for wicmeta/lib/oeqa/selftest/wic.py+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] #10618: Increase oe-selftest coverage of wic codebase (last part)

Hi,

Increased test coverage of the wic codebase to 81%:
- tested partitions with various fs types(btrfs, squashfs, etc)
- removed fsimage plugin
- removed not used code from filemap.py and runner.py
- tested globbed source spec of image-bootpart plugin

The following changes since commit 415b72ffcbd26e5f3664370d8b2a9b8105fb6342:

dnf: remove systemd units in nativesdk builds (2017-03-28 10:34:37 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ed/wic/wip
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/wic/wip

Ed Bartosh (9):
wic-tools: add btrfs-tools squashfs-tools to DEPENDS
oe-selftest: add wic test case test_fs_types
filemap: remove FilemapSeek class
oe-selftest: add kickstart_parser test case
wic: remove fsimage plugin
wic: use wic-tools STAGING_DATADIR as bootimg_dir
wic: remove runner.show API
wic: remove unused code from runner module
oe-selftest: add test_image_bootpart_globbed test for wic

 meta/lib/oeqa/selftest/wic.py                    |  41 +++
 meta/recipes-core/meta/wic-tools.bb              |   6 +-
 scripts/lib/wic/filemap.py                       | 309 ++++-------------------
 scripts/lib/wic/partition.py                     |  13 -
 scripts/lib/wic/plugins/source/bootimg-pcbios.py |  48 ++--
 scripts/lib/wic/plugins/source/fsimage.py        |  56 ----
 scripts/lib/wic/utils/misc.py                    |  14 +-
 scripts/lib/wic/utils/runner.py                  |  74 +-----
 8 files changed, 130 insertions(+), 431 deletions(-)
 delete mode 100644 scripts/lib/wic/plugins/source/fsimage.py
Signature · 1 line
2.1.4