On Thu, Jul 11, 2013 at 06:28:04AM -0700, Chris Larson wrote: > On Thu, Jul 11, 2013 at 5:38 AM, Martin Jansa wrote: > > > On Wed, Jul 10, 2013 at 02:38:13PM +0200, Martin Jansa wrote: > > > Signed-off-by: Martin Jansa > > > --- > > > 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@gmail.com