On 05/31/2018 09:50 PM, Alexander Kanavin wrote:
2018-05-31 11:45 GMT+03:00 Chen Qi <qi.c...@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
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to