<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">&lt;<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>&gt;</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>
&gt; On Thu, Jul 11, 2013 at 5:38 AM, Martin Jansa &lt;<a href="mailto:martin.jansa@gmail.com">martin.jansa@gmail.com</a>&gt;wrote:<br>
&gt;<br>
&gt; &gt; On Wed, Jul 10, 2013 at 02:38:13PM +0200, Martin Jansa wrote:<br>
&gt; &gt; &gt; Signed-off-by: Martin Jansa &lt;<a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a>&gt;<br>
&gt; &gt; &gt; ---<br>
&gt; &gt; &gt;  scripts/test-dependencies.sh | 253<br>
&gt; &gt; +++++++++++++++++++++++++++++++++++++++++++<br>
&gt; &gt; &gt;  1 file changed, 253 insertions(+)<br>
&gt; &gt; &gt;  create mode 100755 scripts/test-dependencies.sh<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; +    echo &quot;!!!Removing tmpdir \&quot;$tmpdir\&quot;!!!&quot;<br>
&gt; &gt; &gt; +    rm -rf $tmpdir/cache $tmpdir/deploy $tmpdir/pkgdata<br>
&gt; &gt; $tmpdir/sstate-control $tmpdir/stamps $tmpdir/sysroots $tmpdir/work<br>
&gt; &gt; $tmpdir/work-shared 2&gt;/dev/null<br>
&gt; &gt;<br>
&gt; &gt; I&#39;ll send v3 which doesn&#39;t remove $tmpdir/cache between the builds, it<br>
&gt; &gt; takes too long already without reparsing all recipes every time.<br>
&gt; &gt;<br>
&gt; &gt; Originally I was removing it as work around for<br>
&gt; &gt; <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>
&gt; &gt; but that&#39;s not needed for master and people probably won&#39;t be changing<br>
&gt; &gt; PNBLACKLIST while this script is running.<br>
&gt; &gt;<br>
&gt;<br>
&gt; This is quite an interesting script. It looks quite similar to my<br>
&gt; greedy-deps-tests[1] script, though you&#39;ve taken it a step further in<br>
&gt; adding builds #3 and #4.<br>
&gt;<br>
&gt; 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&#39;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&#39;ve started with #3 the idea to detect greedy came later<br>
<br>
Do you plan to integrate your script into oe-core? I&#39;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&#39;t thought about it, but it&#39;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>