1.- Set below variables on local.conf INHERIT += "testimage" TEST_TARGET = "simpleremote" TEST_SERVER_IP= "HOST_IP" TEST_TARGET_IP = "DUT ip" TEST_SUITES = " auto" 2.- run `bitbake core-image-sato-sdk -c testimage` Expected result: All test defined for image should be executed Actual Result: -ERROR: core-image-sato-sdk-1.0-r0 do_testimage: Tests directory poky_x86/meta/lib/oeqa/runtime exists but is missing __init__.py -ERROR: core-image-sato-sdk-1.0-r0 do_testimage: Function failed: do_testimage Note: This happens when TEST_SUITES = " auto"
When using "auto" in TEST_SUITES it will execute all the test found in all layers. There is a check for __init__.py in all the <layer>/lib/oeqa/runtime/ directory only when using auto. This was written when bitbake was using python2, with python3 the import works different, so this check is no longer needed.
Sent patch to the mailing list: http://lists.openembedded.org/pipermail/openembedded-core/2016-July/124162.html
This has been solved in commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=65a03c3f949e27f64f43b6b0b6452218dfe1a4ec
Verified on master commit : 6b66e9317f4ec3a69f98f29836aafa35b52f3fc7