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

git at git.openembedded.org git at git.openembedded.org
Mon Jun 24 14:34:23 UTC 2013


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

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=4e6de6d5f0454024eec2ec775a938c5dab70610c


More information about the Openembedded-commits mailing list