]> code.ossystems Code Review - openembedded-core.git/commit
classes/testimage-auto: add class to allow automatically running image tests
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 19 Sep 2013 10:10:34 +0000 (11:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Sep 2013 11:14:32 +0000 (12:14 +0100)
commit72269a8fbec35c39af30fbabb1fa9ca7c5ee8d69
tree81eab280f1d9e3191d9a19b9a70f4867a00c1e41
parent5d46c3df578f44597d8ce70add423e0c15982705
classes/testimage-auto: add class to allow automatically running image tests

Setting TEST_IMAGE = "1" alone will now automatically run tests on the
image immediately after the image is built instead of having to add
INHERIT += "testimage" and run bitbake -c testimage <image> manually
(but that will still work). This restores functionality that was
present in the older imagetest-qemu class with IMAGETEST.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/image.bbclass
meta/classes/testimage-auto.bbclass [new file with mode: 0644]