]> code.ossystems Code Review - openembedded-core.git/commit
sanity.bbclass: Various improvements
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jun 2013 16:45:33 +0000 (17:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Jun 2013 14:41:18 +0000 (15:41 +0100)
commit4e6de6d5f0454024eec2ec775a938c5dab70610c
treeecaa41ace29189f1fa9991e4d4b8c49b65d89f04
parentac090ace11d654dafd642fd93c94091a164476fa
sanity.bbclass: Various improvements

I started trying to make some changes in sanity.bbclass and couldn't stand
the current code. This patch splits out the one big function into a number
of smaller units and adds a status class which handles queuing of messages
and issues like network errors and whether a reparse is required. It also
cleans up some syntax and obsolete code.

The other fundamental change is the tests are split into ones which run
once and those which run at every build. This was always the way the
class was intended to work but that got lost somewhere along the way.
This patch fixes that.

Its still far from perfect but it is hopefully an improvement
and sets the scene for other improvements to be built on top of this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass