]> code.ossystems Code Review - openembedded-core.git/commit
selftest/wic: extending test coverage for WIC script options
authorJair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Tue, 13 Dec 2016 15:53:27 +0000 (09:53 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Dec 2016 15:03:42 +0000 (15:03 +0000)
commit68cb3180c1b0dcee50812b21f98850d188d8621b
tree3b11d5a1e0b5f8b2d482d3d340516270e3ad6132
parente82a7f879419828b42b5cc71e6229c8235090f21
selftest/wic: extending test coverage for WIC script options

The previous WIC script selftest didn't cover all of its command
line options. The following test cases were added to complete
covering them:

1552 Test wic --version
1553 Test wic help create
1554 Test wic help list
1555 Test wic list images
1556 Test wic list source-plugins
1557 Test wic listed images help
1558 Test wic debug, skip-build-check and build_rootfs
1559 Test image vars directory selection
1562 Test alternate output directory

In addition, the following test cases were assigned an ID number on
Testopia:

1560 Test creation of systemd-bootdisk image
1561 Test creation of sdimage-bootpart image

Finally, part of the test methods were rearranged to group them by
functionality, and some cleanup was made to improve the code's
compliance with PEP8 style guide.

Fixes [YOCTO 10594]

(From OE-Core rev: 3d2ac67765020885a0996ebdd97a576ba37dbec0)

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/wic.py