[OE-core] [PATCHv2] test-dependencies: add simple script to detect missing or autoenabled dependencies

Chris Larson clarson at kergoth.com
Thu Jul 11 13:28:04 UTC 2013


On Thu, Jul 11, 2013 at 5:38 AM, Martin Jansa <martin.jansa at gmail.com>wrote:

> On Wed, Jul 10, 2013 at 02:38:13PM +0200, Martin Jansa wrote:
> > Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> > ---
> >  scripts/test-dependencies.sh | 253
> +++++++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 253 insertions(+)
> >  create mode 100755 scripts/test-dependencies.sh
> >
> > +    echo "!!!Removing tmpdir \"$tmpdir\"!!!"
> > +    rm -rf $tmpdir/cache $tmpdir/deploy $tmpdir/pkgdata
> $tmpdir/sstate-control $tmpdir/stamps $tmpdir/sysroots $tmpdir/work
> $tmpdir/work-shared 2>/dev/null
>
> I'll send v3 which doesn't remove $tmpdir/cache between the builds, it
> takes too long already without reparsing all recipes every time.
>
> Originally I was removing it as work around for
> http://lists.openembedded.org/pipermail/bitbake-devel/2013-July/003624.html
> but that's not needed for master and people probably won't be changing
> PNBLACKLIST while this script is running.
>

This is quite an interesting script. It looks quite similar to my
greedy-deps-tests[1] script, though you've taken it a step further in
adding builds #3 and #4.

1. https://github.com/kergoth/oe-test-scripts#oe-test-scripts
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130711/02c639bd/attachment-0002.html>


More information about the Openembedded-core mailing list