On 23 April 2015 at 19:47, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
This was discussed long ago and there are two different tasks as a
compromise. testimage_auto runs automatically after a rootfs is built
and has the correct dependencies. "testimage" is triggered manually. The
autobuilder actually uses testimage so it can be explicit about which
images get tested.

The use-case was Cristi editing a recipe and running bitbake myimage -c testimage with the expectation that the image gets rebuilt before testing.  This isn't unreasonable at currently the only way to do this is bitbake myimage && bitbake myimage -c testimage.

If testimage_auto is merged with testimage I presume there'll be some variable to control the behaviour.  Could we extend it to have an option to make the image depend on the rootfs generation to cover all three use-cases?

Ross