[OE-core] [PATCH] wic/utils/partitionedfs.py: assemble .wic images as sparse files

Ed Bartosh ed.bartosh at linux.intel.com
Thu Dec 17 13:53:59 UTC 2015


On Thu, Dec 17, 2015 at 01:19:47PM +0000, Joshua Lock wrote:
> Hi Ed,
> 
> On 17/12/15 12:21, Ed Bartosh wrote:
> >Thank you for the patch! I like the change. It's a first step towards
> >supporting bmaptool, which is in my TODO list.
> 
> No problem, I've been playing with bmaptool myself and that's what
> prompted the change.
> 
> >Would you be willing to write or modify wic test case to test this?
> 
> I'd be willing to do that, is there any documentation on the
> development of test cases?
You can find short info here:
https://wiki.yoctoproject.org/wiki/Oe-selftest

And here https://docs.python.org/2/library/unittest.html as oe-selftest
test cases are based on Python unittest.

> I see meta/lib/oeqa/selftest/wic.py has a bunch of functions with
> @testcase decorators but I'm not familiar with how this should all
> fit together.
You've spotted it right. All wic testcases are in that file.
You can run them this way:  oe-selftest --run-tests wic

As Ross already pointed out you can omit @testcase decorator if you add
new test. QA team will add it later when they need it.

--
Regards,
Ed



More information about the Openembedded-core mailing list