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

Martin Jansa martin.jansa at gmail.com
Thu Jul 11 13:49:08 UTC 2013


On Thu, Jul 11, 2013 at 06:28:04AM -0700, Chris Larson wrote:
> 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

pity I didn't know about your script before writing mine, it looks more
elegant in python

I've started with #3 the idea to detect greedy came later

Do you plan to integrate your script into oe-core? I'm fine with keeping
my shell script locally until you do. Your python script would better fit
in bitbake/oe environment and reloc-tests also looks useful.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130711/58eda049/attachment-0002.sig>


More information about the Openembedded-core mailing list