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

Randy MacLeod randy.macleod at windriver.com
Mon Jul 8 18:00:20 UTC 2013


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.

// Randy

>
> 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



More information about the Openembedded-core mailing list