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

Alexander Kanavin alex.kanavin at gmail.com
Thu May 31 13:50:19 UTC 2018


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



More information about the Openembedded-core mailing list