<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 11, 2013 at 6:49 AM, Martin Jansa <span dir="ltr"><<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, Jul 11, 2013 at 06:28:04AM -0700, Chris Larson wrote:<br>
> On Thu, Jul 11, 2013 at 5:38 AM, Martin Jansa <<a href="mailto:martin.jansa@gmail.com">martin.jansa@gmail.com</a>>wrote:<br>
><br>
> > On Wed, Jul 10, 2013 at 02:38:13PM +0200, Martin Jansa wrote:<br>
> > > Signed-off-by: Martin Jansa <<a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a>><br>
> > > ---<br>
> > > scripts/test-dependencies.sh | 253<br>
> > +++++++++++++++++++++++++++++++++++++++++++<br>
> > > 1 file changed, 253 insertions(+)<br>
> > > create mode 100755 scripts/test-dependencies.sh<br>
> > ><br>
> > > + echo "!!!Removing tmpdir \"$tmpdir\"!!!"<br>
> > > + rm -rf $tmpdir/cache $tmpdir/deploy $tmpdir/pkgdata<br>
> > $tmpdir/sstate-control $tmpdir/stamps $tmpdir/sysroots $tmpdir/work<br>
> > $tmpdir/work-shared 2>/dev/null<br>
> ><br>
> > I'll send v3 which doesn't remove $tmpdir/cache between the builds, it<br>
> > takes too long already without reparsing all recipes every time.<br>
> ><br>
> > Originally I was removing it as work around for<br>
> > <a href="http://lists.openembedded.org/pipermail/bitbake-devel/2013-July/003624.html" target="_blank">http://lists.openembedded.org/pipermail/bitbake-devel/2013-July/003624.html</a><br>
> > but that's not needed for master and people probably won't be changing<br>
> > PNBLACKLIST while this script is running.<br>
> ><br>
><br>
> This is quite an interesting script. It looks quite similar to my<br>
> greedy-deps-tests[1] script, though you've taken it a step further in<br>
> adding builds #3 and #4.<br>
><br>
> 1. <a href="https://github.com/kergoth/oe-test-scripts#oe-test-scripts" target="_blank">https://github.com/kergoth/oe-test-scripts#oe-test-scripts</a><br>
<br>
</div>pity I didn't know about your script before writing mine, it looks more<br>
elegant in python<br></blockquote><div><br></div><div style>Heh, it was shell at first, but I wanted to experiment. It ended up being a good exercise in clean handling of SIGINT and SIGTERM.</div><div style><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've started with #3 the idea to detect greedy came later<br>
<br>
Do you plan to integrate your script into oe-core? I'm fine with keeping<br>
my shell script locally until you do. Your python script would better fit<br>
in bitbake/oe environment and reloc-tests also looks useful.</blockquote></div><br>I hadn't thought about it, but it's a good idea. Perhaps we can get the best-of-both-worlds and integrate the features of both our scripts.<br>
-- <br>Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics
</div></div>