[oe-commits] Richard Purdie : sanity.bbclass: Various improvements

git at git.openembedded.org git at git.openembedded.org
Fri Jun 21 16:47:26 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 11cc20d7f75c52ada8cf7de5b7fcaab26fc6237c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=11cc20d7f75c52ada8cf7de5b7fcaab26fc6237c

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Fri Jun 21 17:45:33 2013 +0100

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 at linuxfoundation.org>

---

 meta/classes/sanity.bbclass |  511 ++++++++++++++++++++++---------------------
 1 files changed, 257 insertions(+), 254 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=11cc20d7f75c52ada8cf7de5b7fcaab26fc6237c


More information about the Openembedded-commits mailing list