[OE-core] [PATCH 13/14] testimage-auto.bbclass: execute the same codes as testimage task

ChenQi Qi.Chen at windriver.com
Fri Jun 1 04:33:18 UTC 2018


On 05/31/2018 09:50 PM, Alexander Kanavin wrote:
> 2018-05-31 11:45 GMT+03:00 Chen Qi <Qi.Chen at windriver.com>:
>>   python do_testimage_auto() {
>> +    testimage_sanity(d)
>> +
>> +    if (d.getVar('IMAGE_PKGTYPE') == 'rpm'
>> +       and ('dnf' in d.getVar('TEST_SUITES') or 'auto' in d.getVar('TEST_SUITES'))):
>> +        create_rpm_index(d)
>> +
>>       testimage_main(d)
> Why not simply move these lines to testimage_main()? They might become
> out of sync again in the future otherwise.
>
> Alex
>
Done.
V2 will be sent out soon.

Thanks,
Chen Qi



More information about the Openembedded-core mailing list