[OE-core] [RFC][PATCH] test-dependencies: add simple script to detect missing or autoenabled dependencies
Martin Jansa
martin.jansa at gmail.com
Mon Jul 8 19:35:50 UTC 2013
On Mon, Jul 08, 2013 at 02:00:20PM -0400, Randy MacLeod wrote:
> On 13-07-06 05:39 PM, Martin Jansa wrote:
> > On Sat, Jul 06, 2013 at 11:24:46PM +0200, Martin Jansa wrote:
> >> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> >> ---
> >> scripts/test-dependencies.sh | 250 +++++++++++++++++++++++++++++++++++++++++++
> >> 1 file changed, 250 insertions(+)
> >> create mode 100755 scripts/test-dependencies.sh
> >>
> >> +build_all() {
> >> + echo "===== 1st build to populate sstate-cache directory and sysroot ====="
> >> + OUTPUT1=${OUTPUT_BASE}/${TYPE}_all
> >> + mkdir -p ${OUTPUT1}
> >> + echo "Logs will be stored in ${OUTPUT1} directory"
> >> + bitbake $targets | tee -a ${OUTPUT1}/complete.log
> >> +}
> >
> > I've just added "-k" here to bitbake call, more improvements are expected,
> > that's why it's only RFC, but I wanted to share it soon in case someone
> > else also have access to some builder which is idle during weekends..
> >
> > It would be nice to test and fix oe-core recipes first, but because my
> > target is to run this in dylan I'm running this with more layers
> > included already.
>
> Martin,
>
> Such a per-recipe dependency test has been on our to do list!
> Once your script is in master, we can run it at least once a week.
>
Great, my tests revealed about 100 packages with autodetected extra
dependencies, I'll send improved version of this script soon (together
with results from my world builds (23 layers included).
Regards,
> > I'm sending patches for master + blacklisting broken recipes in dylan,
> > maybe we should backport them later as missing deps and autodetected
> > deps are relatively safe fixes.
> >
> > Regards,
> >
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >
>
>
> --
> # Randy MacLeod. SMTS, Linux, Wind River
> Direct: 613.963.1350
--
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/20130708/1c19360c/attachment-0002.sig>
More information about the Openembedded-core
mailing list